A c t i v e R o l e s   M a n a g e m e n t   S h e l l   f o r   A c t i v e   D i r e c t o r y 
 
 B u i l d s   H i s t o r y 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 V e r s i o n   1 . 2 . 2 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 B u i l d   1 . 2 . 2 . 1 2 5 1 
 
 
 
 B u g s   f i x e d : 
 
 
 
 1 .   F i x e d   v a r i o u s   b a c k w a r d   c o m p a t i b i l i t y   i s s u e s . 
 
 
 
 2 .   C a n n o t   i n d e x   t h r o u g h   M e m b e r ,   M e m b e r O f   a n d   A p p l i e s T o   p r o p e r t i e s .   [ 9 2 3 2 7 ] 
 
 
 
 3 .   C a n n o t   c o n n e c t   t o   s e r v i c e   b y   i t ' s   I P   a d d r e s s   i f   i t   c a n n o t   b e   r e s o l v e d   t o   f u l l   D N S   n a m e .   [ 9 2 3 2 9 ] 
 
 
 
 4 .   T s H o m e D i r e c t o r y   a n d   T s H o m e D r i v e   p a r a m e t e r s   i n   S e t - Q A D U s e r   c m d l e t   a r e   s w i t c h e d .   [ 9 4 3 9 1 ] 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 V e r s i o n   1 . 2 . 1 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 B u i l d   1 . 2 . 1 . 2 4 3 
 
 
 
 1 .   F i x e d   b u g s 
 
 1 . 1 .   ' C o n n e c t i o n '   p r o p e r t y   o f   o u t p u t   o b j e c t s   i s   n u l l . 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 V e r s i o n   1 . 2 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 N e w   f e a t u r e s   ( b r i e f   l i s t ,   s e e   d o c u m e n t a t i o n   f o r   d e t a i l s ) 
 
 
 
 1 .   A D   m a n a g e m e n t   f e a t u r e s 
 
 
 
 1 . 1 .   N e w   c m d l e t s 
 
 
 
 G e t - Q A D M e m b e r O f 
 
 G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o 
 
 R e s t o r e - Q A D D e l e t e d O b j e c t 
 
 
 
 1 . 2 .   N e w   p a r a m e t e r s 
 
 
 
 1 . 2 . 1 .   T o m b s t o n e   r e t r i e v a l   p a r a m e t e r s 
 
 
 
 P a r a m e t e r s : 
 
 
 
 T o m b s t o n e 
 
 L a s t K n o w n P a r e n t 
 
 
 
 A d d e d   o n : 
 
 
 
 G e t - Q A D C o m p u t e r 
 
 G e t - Q A D G r o u p 
 
 G e t - Q A D O b j e c t 
 
 G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t 
 
 G e t - Q A D U s e r 
 
 
 
 1 . 2 . 2 .   O b j e c t   l i f e c y c l e   f i l t e r i n g   p a r a m e t e r s 
 
 
 
 P a r a m e t e r s : 
 
 
 
 C r e a t e d O n 
 
 C r e a t e d A f t e r 
 
 C r e a t e d B e f o r e 
 
 L a s t C h a n g e d O n 
 
 L a s t C h a n g e d A f t e r 
 
 L a s t C h a n g e d B e f o r e 
 
 
 
 A d d e d   o n : 
 
 
 
 G e t - Q A D C o m p u t e r 
 
 G e t - Q A D G r o u p 
 
 G e t - Q A D O b j e c t 
 
 G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t 
 
 G e t - Q A D U s e r 
 
 G e t - Q A R S A c c e s s T e m p l a t e 
 
 G e t - Q A R S A c c e s s T e m p l a t e L i n k 
 
 
 
 1 . 2 . 3 .   G e n e r i c   o b j e c t   f i l t e r i n g   p a r a m e t e r s 
 
 
 
 P a r a m e t e r s : 
 
 
 
 T y p e 
 
 O b j e c t A t t r i b u t e s 
 
 N a m e 
 
 D i s p l a y N a m e 
 
 D e s c r i p t i o n 
 
 A n r 
 
 
 
 A d d e d   o n : 
 
 
 
 G e t - Q A D G r o u p M e m b e r 
 
 
 
 1 . 2 . 4 .   G r o u p   m e m b e r s h i p   f i l t e r i n g   p a r a m e t e r s 
 
 
 
 P a r a m e t e r s : 
 
 
 
 M e m b e r O f 
 
 I n d i r e c t M e m b e r O f 
 
 N o t M e m b e r O f 
 
 N o t I n d i r e c t M e m b e r O f 
 
 
 
 A d d e d   o n : 
 
 
 
 G e t - Q A D C o m p u t e r 
 
 G e t - Q A D G r o u p 
 
 G e t - Q A D O b j e c t 
 
 G e t - Q A D U s e r 
 
 
 
 1 . 2 . 5 .   G r o u p   m e m b e r   f i l t e r i n g   p a r a m e t e r s 
 
 
 
 P a r a m e t e r s : 
 
 
 
 C o n t a i n s M e m b e r 
 
 C o n t a i n s I n d i r e c t M e m b e r 
 
 N o t C o n t a i n s M e m b e r 
 
 N o t C o n t a i n s I n d i r e c t M e m b e r 
 
 
 
 A d d e d   o n : 
 
 
 
 G e t - Q A D G r o u p 
 
 
 
 2 .   A c t i v e R o l e s   S e r v e r   m a n a g e m e n t   f e a t u r e s 
 
 
 
 2 . 1 .   N e w   c m d l e t s 
 
 
 
 G e t - Q A R S O p e r a t i o n 
 
 G e t - Q A R S A p p r o v a l T a s k 
 
 A p p r o v e - Q A R S A p p r o v a l T a s k 
 
 R e j e c t - Q A R S A p p r o v a l T a s k 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u i l d   1 . 2 . 0 . 1 2 3 2 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 F i x e d   b u g s : 
 
 
 
 1 .   I n   r a r e   c a s e s   R e m o v e - Q A D G r o u p M e m b e r   c m d l e t   d o e s n ' t   r e m o v e   u s e r   f r o m   g r o u p   i n   p r o x y   m o d e .   [ 7 8 8 6 4 ] 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u i l d   1 . 2 . 0 . 1 2 1 7 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   G e t - Q A D G r o u p M e m b e r   c m d l e t s   d o e s n ' t   w o r k   a g a i n s t   W i n d o w s   2 0 0 0   d o m a i n .   [ 4 2 5 7 0 ] 
 
 
 
 1 . 2 .   R e m o v e - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o   r e t u r n s   t a r g e t   P S O   i n s t e a d   o f   o b j e c t s   t o   w h i c h   i t   w a s   a p p l i e d .   [ 4 6 1 5 2 ] 
 
 	 F i x :   n o w   c m d l e t s   r e t u r n s   t h e   l i s t   o f   o b j e c t s   t o   w h i c h   t a r g e t   P S O   a p p l i e s . 
 
 	 
 
 1 . 3 .   C a n ' t   c o n n e c t   t o   l o c a l   A c t i v e R o l e s   s e r v i c e .   [ 4 7 6 9 7 ] 
 
 	 F i x :   " C o n n e c t - Q A D S e r v i c e   - P r o x y "   c o m m a n d   n o w   c o n n e c t s   t o   l o c a l   s e r v i c e   i f   o n e   e x i s t   o r   t o   a n y   s e r v i c e   i n   u s e r   f o r e s t . 
 
 	 
 
 1 . 4 .   G e t - Q A R S A c c e s s T e m p l a t e   - S e a r c h R o o t   < G u i d > :   d o e s n ' t   s u p p o r t   o b j e c t   G u i d   i n   S e a r c h R o o t   p a r a m e t e r .   [ 4 8 6 4 8 ] 
 
 
 
 1 . 5 .   D a t e T i m e   a t t r i b u t e   v a l u e s   d o n ' t   c o n v e r t e d   t o   l o c a l   d a t e .   [ 5 0 3 2 6 ] 
 
 	 E x a m p l e :   ' w h e n C r e a t e d ' ,   ' w h e n C h a n g e d ' 	 
 
 	 
 
 1 . 6 .   P a s s w o r d E x p i r e s   p r o p e r t y   o f   u s e r   o b j e c t   r e t u r n s   i n c o r r e c t   r e s u l t .   [ 5 0 6 5 8 ] 
 
 	 E x a m p l e :   G e t - Q A D U s e r   |   f t   N a m e ,   P a s s w o r d E x p i r e s 
 
 	 
 
 1 . 7 .   ' G e t - Q A D U s e r   - L o c k e d '   i n a c c u r a t e l y   f i l t e r e d   l o c k e d - o u t   u s e r s .   [ 5 1 3 4 0 ] 
 
 
 
 1 . 8 .   A d d - Q A D G r o u p M e m b e r   c m d l e t   p e r f o r m s   v e r y   s l o w   f o r   g r o u p s   w i t h   l a r g e   m e m b e r s h i p   ( > 1 0 0 0 0   m e m b e r s ) .   [ 5 3 1 1 1 ] 
 
 
 
 1 . 9 .   P o w e r G U I   w i t h   / s t a   k e y :   e r r o r s   m a y   b e   r a i s e d   w h e n   e n u m e r a t i n g   o b j e c t   w i t h   G e t - Q A D *   c m d l e t s .   [ 5 4 7 6 9 ] 
 
 
 
 1 . 1 0 .   E m p t y   a t t r i b u t e s   b e i g n   e x p l i c i t l y   r e q u e s t e d   t h r o u g h   I n c l u d e d P r o p e r t i e s   p a r a m e t e   w e r e   n o t   
 
 	 a t t a c h e d   t o   o u t p u t   o b j e c t .   [ 5 7 1 2 9 ] 
 
 	 E x a m p l e :   ' G e t - Q A D U s e r   - I n c l u d e d P r o p e r t i e s   e m p t y A t t r i b u t e ' :   o u t p u t   o b j e c t   d o n ' t   c o n t a i n s   e m p t y A t t r i b u t e   p r o p e r t y . 
 
 	 
 
 1 . 1 1 .   I m p o s s i b l e   t o   p a s s   r e s u l t s   f r o m   G e t - Q A D G r o u p   t o   S e t - Q A D G r o u p   v i a   p i p e l i n e   w h e n   c o n n e c t e d   t o   A D A M .   [ 5 8 1 1 8 ] 
 
 	 E x a m p l e :   G e t - Q A D G r o u p   1 2 3   |   S e t - Q A D G r o u p   - M a n a g e d B y   2 4 e s t u s 4 N a m e 
 
 
 
 1 . 1 2 .   H o m e D r i v e   p r o p e r t y   o f   u s e r   o b j e c t   r e t u r n s   i n v a l i d   r e s u l t .   [ 5 9 0 2 3 ] 
 
 
 
 1 . 1 3 .   ' G e t - Q A D C o m p u t e r   |   s e l e c t   C r e a t o r S i d '   t h r o w s   e r r o r   i f   m s d s C r e a t o r S i d   a t t r i b u t e   o f   c o m p u t e r   o b j e c t   i s   e m p t y .   [ 5 9 7 0 5 ] 
 
 
 
 1 . 1 4 .   ' G e t - Q A D U s e r   |   D e p r o v i s i o n - Q A D U s e r ' :   p i p e l i n e   i s   s t o p p e d   i f   o n e   o f   u s e r s   c a n n o t   b e   d e p r o v i s i o n e d   f o r   s o m e   r e a s o n .   [ 6 3 0 0 5 ] 
 
 
 
 1 . 1 5 .   G e t - Q A D P e r m i s s i o n   c m d l e t   t h r o w s   e x c e p t i o n   i f   e x e c u t e d   f r o m   e x t e r n a l   h o s t .   [ 6 3 2 8 1 ] 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 V e r s i o n   1 . 1 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 B u i l d   1 . 1 . 0 . 7 3 4 
 
 
 
 1 .   F e a t u r e s 
 
 
 
 1 . 1 .   C h a n g e d   b e h a v i o r   o f   I d e n t i t y   p a r a m e t e r   i n   G e t - Q A D *   c m d l e t s .   I f   c m d l e t   c a n ' t   
 
 	 l o o k u p   o b j e c t   f o r   i d e n t i t y   t h e n   s e a r c h   i n i t i a t e d   w i t h   d e f a u l t   f i l t e r   
 
 	 " ( | ( a n r = i d e n t i t y ) ( n a m e = i d e n t i t y ) ) "   i n s t e a d   o f   " ( a n r = i d e n t i t y ) " .   [ 4 6 0 7 0 ] 
 
 	 
 
 1 . 2 .   A d d e d   s u p p o r t   f o r   s i m p l e   i m p o r t   s c e n a r i o s : 	 [ 4 6 0 7 7 ] 
 
 	 I m p o r t - C s v   c : \ t e s t . c s v   |   N e w - Q A D O b j e c t   - I m p o r t   - N a m e   ' n e w N a m e '   - o u   ' t e s t . d o m a i n . c o m / L o n d o n '   - t y p e   u s e r 
 
 	 I m p o r t - C s v   c : \ t e s t . c s v   |   S e t - Q A D U s e r   - I m p o r t   - I d e n t i t y   { $ _ . s a m A c c o u n t N a m e } 
 
 
 
 1 . 3 .   N a m e   o f   $ Q u e s t C o n n e c t i o n   v a r i a b l e   c h a n g e d   t o   $ Q A D C o n n e c t i o n   [ 4 6 2 2 6 ] 
 
 
 
 2 .   F i x e d   b u g s 
 
 
 
 2 . 1 .   W r o n g   e r r o r   m e s s a g e   w h e n   t r y i n g   t o   s e t   u s e r   p a s s w o r d   t h a t   n o t   c o n f o r m s   t o   p o l i c y .   [ 4 2 0 7 9 ] 
 
 
 
 2 . 2 .   E r o r r   s e a r c h i n g   o b j e c t s   u s i n g   G l o b a l   C a t a l o g   [ 4 6 1 4 4 ] 
 
 
 
 
 
 B u i l d   1 . 1 . 0 . 7 2 2 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   A d d - Q A D G r o u p M e m b e r   c a n   a d d   g r o u p   a s   a   m e m b e r   t o   i t s e l f   [ 4 1 4 7 4 ] 
 
 
 
 1 . 2 .   G e t - Q A D G r o u p   - e m p t y   $ t r u e   r e t u r n s   n o t - e m p t y   g r o u p s   [ 4 0 9 9 6 ] 
 
 
 
 1 . 3 .   G e t - Q A D C o m p u t e r   - I d e n t i t y   < F Q D N   o f   c o m p u t e r >   r e t u r n s   n o t h i n g   [ 4 2 0 7 2 ] 
 
 
 
 
 
 B u i l d   1 . 1 . 0 . 7 2 0 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   " G e t - Q A D U s e r   - r e t u r n P r o p e r t y N a m e s O n l y   |   s o r t "   d o e s n ' t   w o r k   [ 4 0 5 0 9 ] 
 
 
 
 1 . 2 .   F r e e z e   t i m e   o f   f i r s t   G e t - Q A D *   c o m m a n d   e x e c u t i o n   r e d u c e d   b y   7 0 % 
 
 
 
 1 . 3 .   D a t e T i m e   a t t r i b u t e s   n o t   c o n v e r t e d   t o   u s e r - f r i e n d l y   f o r m   [ 4 0 8 2 6 ] 
 
 	 [ P S   C : \ R o o t ]   ( G e t - Q A D C o m p u t e r   $ e n v : c o m p u t e r n a m e ) . l a s t l o g o n 
 
 	 	 1 2 8 5 2 1 0 3 5 0 0 2 3 9 2 9 7 3 
 
 
 
 	 [ P S   C : \ R o o t ]   ( G e t - Q A D C o m p u t e r   $ e n v : c o m p u t e r n a m e ) . l a s t l o g o n . g e t t y p e ( ) . n a m e 
 
 	 	 I n t 6 4 
 
 
 
 1 . 4 .   F i l t e r i n g   d o e s n ' t   w o r k   i n   G e t - Q A D *   w h e n   I d e n t i t y   s p e c i f i e d .   [ 4 0 8 5 5 ] 
 
 
 
 2 .   N e w   f e a t u r e s 
 
 
 
 2 . 1 .   W h e n   c o n n e c t i o n - a w a r e   c o m m a n d   f i r s t   e x e c u t e d   a n d   n o   d e f a u l t   c o n n e c t i o n   e s t a b l i s h e d ,   d e f a u l t   c o n n e c t i o n   
 
       c r e a t e d   i m p l i c i t l y .   F o r   e x a m p l e ,   " G e t - Q A D U s e r   ' J o h n   S m i t h ' "   c o m m a n d   i m p l i c i t l y   e s t a b l i s h e s   c o n n e c t i o n   
 
       t o   c u r r e n t   u s e r   d o m a i n   w i t h   c u r r e n t   u s e r   c r e d s   a n d   t h i s   c o n n e c t i o n   s a v e d   a s   d e f a u l t . 
 
       C u r r e n t   d e f a u l t   c o n n e c t i o n   m a y   b e   s e e n   t h r o u g h   $ Q u e s t C o n n e c t i o n   v a r a i a b l e . 
 
       
 
       
 
 
 
 B u i l d   1 . 1 . 0 . 7 1 9 
 
 
 
 1 .   N e w   f e a t u r e s 
 
 
 
 1 . 1 .   G e t - Q A D G r o u p M e m b e r   - I n d i r e c t 
 
 	 ' I n d i r e c t '   p a r a m e t e r   a d d e d   t o   G e t - Q A D G r o u p M e m b e r   c m d l e t ,   w h i c h   a l l o w s   t o   e x p a n d 
 
 m e m b e r   g r o u p s   a n d   r e t r i e v e   t h e i r   m e m b e r s   t o o . 
 
 
 
 2 .   F i x e d   b u g s 
 
 
 
 2 . 1 .   B u g   w i t h   u p g r a d e   f r o m   p r e v i o u s   v e r s i o n s   t o   1 . 1 . 0 .   [ 4 0 3 4 6 ] 
 
 
 
 2 . 2 .   M e m b e r O f   p r o p e r t y   o f   u s e r   o b j e c t   r e t u r n s   n o t h i n g .   [ 4 0 4 7 8 ] 
 
 
 
 2 . 3 .   N e w - Q A D G r o u p   - g r o u p S c o p e   ' D o m a i n L o c a l '   c r e a t e s   G l o b a l   s e c u r i t y   g r o u p .   [ 4 0 4 8 1 ] 
 
 
 
 2 . 4 .   S e t u p   m u s t   n o t   c h a n g e   t h e   e x e c u t i o n   p o l i c y   f r o m   l e s s   r e s t r i c t e d   t o   m o r e   r e s t r i c t e d   [ 4 0 4 8 5 ] 
 
 
 
 
 
 B u i l d   1 . 1 . 0 . 7 1 4 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   U n q u o t e d   c a n o n i c a l   n a m e   r e t u r n e d   f o r   o b j e c t   w i t h   C N = d a t e \ = y y / m m / d d \ , w e e k d a y   [ 1 1 7 2 8 ] 
 
 	 $ u   =   G e t - Q A D U s e r   ' d a t e = y y / m m / d d , w e e k d a y ' 
 
 	 " G e t - Q A D U s e r   $ u . C a n o n i c a l N a m e "   a n d   " G e t - Q A D U s e r   $ u . U s e r P r i n c i p a l N a m e "   n o w   w o r k   a s   p r e d i c t e d . 
 
 	 	 
 
 1 . 2 .   G e t - *   c m d l e t s   s e a r c h   i n   A D   L D S   d o e s n ' t   w o r k   w h e n   - s e a r c h s c o p e   i s   n o t   D N   [ 1 1 9 6 2 ] 
 
 
 
 1 . 3 .   G e t - *   c m d l e t   r e c e i v e s   o n l y   D N   a s   i d e n t i t y   o f   - O U   k e y   i f   - s v c   k e y   u s e d   [ 1 7 8 8 5 ] 
 
 
 
 1 . 4 .   R e m o v e - Q A D G r o u p M e m b e r   - W h a t I f   i s   n o t   t e l l i n g   w h i c h   o b j e c t s   i t   w i l l   r e m o v e   f r o m   t h e   g r o u p   [ 1 8 0 1 1 ] 
 
 
 
 1 . 5 .   A d d - Q A D G r o u p M e m b e r   i s   s p i t t i n g   o u t   m u l t i p l e   i n s t a n c e s   o f   t h e   g r o u p   [ 1 8 0 2 8 ] 
 
 
 
 1 . 6 .   G r o u p   t y p e   a n d   s c o p e   m u s t   n o t   b e   s h o w n   f o r   A D   L D S   g r o u p s   [ 2 7 8 4 7 ] 
 
 
 
 1 . 7 .   A c c e s s   D e n i e d   e r r o r   r a i s e s   w h e n   b i n d i n g   A D   L D S   o b j e c t s   t h r o u g h   p r o x y   w i t h   n o n - D N   i d e n t i t y   [ 1 1 9 8 1 ] 
 
 
 
 
 
 B u i l d   1 . 1 . 0 . 7 1 0 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   C a n ' t   u s e   s i m p l e   n a m e   i n   - A p p l i e s T o   p a r a m e t e r   o f   c m d l e t s   [ 4 5 2 2 ] 
 
 
 
 1 . 2 .   C a n ' t   s e t   p a s s w o r d   f o r   A D   L D S   u s e r   a c c o u n t   [ 4 6 9 6 ] 
 
 
 
 1 . 3 .   C a n ' t   u s e   c a n o n i c a l   n a m e   o f   p a r e n t   c o n t a i n e r   w h e n   w o r k i n g   w i t h   d i r e c t   c o n n e c t i o n   t o   A D   L D S   [ 4 6 9 0 ] 
 
 
 
 1 . 4 .   R e s u l t   o f   ' G e t - Q A D G r o u p   " d o m a i n   c o m p u t e r s "   |   G e t - Q A D G r o u p M e m b e r '   i s   e m p t y   [ 3 9 4 7 8 ] 
 
 
 
 1 . 5 .   C a n ' t   s e t   p a s s w o r d   f o r   A D   L D S   u s e r   a c c o u n t   [ 4 6 9 6 ] 
 
 
 
 1 . 6 .   N e w - q a d u s e r   m u s t   c r e a t e   e n a b l e d   u s e r   i f   - U s e r P a s s w o r d   p a r a m e t e r   p u t t e n   a n d   i t   i s   p o l i c y - c o m p i n e d   [ 1 1 2 8 8 ] 
 
 
 
 1 . 7 .   D e f a u l t   s e a r c h   b e h a v i o u r   d i f f e r s   b e t w e e n   g e t - q a d u s e r   a n d   o t h e r   g e t -   c m d l e t s   [ 1 1 4 9 3 ] 
 
 
 
 1 . 8 .   G e t - Q A D G r o u p M e m b e r   c m d l e t ' s   r e t u r n   c o n t a i n   n o   M e m b e r   a t t r i b u t e   [ 3 5 7 1 1 ] 
 
 
 
 1 . 9 .   ' G e t - Q A D U s e r   - i p   a c c o u n t e x p i r e s   |   f t   n a m e ,   a c c o u n t e x p i r e s '   w r o n g   o u t p u t   w h e n   a c c o u n t   n e v e r   e x p i r e s   [ 4 4 3 7 ] 
 
 
 
 1 . 1 0 .   G e t - Q A D U s e r   *   d o e s n ' t   w o r k   [ 1 9 4 1 0 ] 
 
 
 
 1 . 1 1 .   ' G e t - Q A D U s e r   u s e r n a m e '   r e s u l t s   d i f f e r s   b e t w e e n   d i r e c t   a n d   p r o x y   m o d e   [ 3 9 6 4 4 ] 
 
 
 
 1 . 1 2 .   G e t -   c m d l e t s   - o a   f i l t e r   b y   b o o l e a n   a t t r i b u t e s   d o e s n ' t   w o r k   [ 1 8 2 6 5 ] 
 
 	 E x a m p l e :   g e t - q a d u s e r   - o a   @ { ' m D B U s e D e f a u l t s ' = $ f a l s e }   - s l   5 
 
 	 
 
 1 . 1 3 .   G e t - Q A D G r o u p M e m b e r   :   U n k n o w n   e r r o r   ( 0 x 5 0 1 1 ) .   R a i s e s   w h e n   g r o u p   c o n t a i n s   a n o t h e r   d o m a i n   m e m b e r s   [ 1 8 1 7 9 ] 
 
 
 
 
 
 
 
 B u i l d   1 . 1 . 0 . 7 0 7 
 
 
 
 1 .   N e w   f e a t u r e s 
 
 
 
 1 . 1 .   N a t i v e   A D   p e r m i s s i o n   m a n a g e m e n t   c m d l e t s 
 
 
 
 E x a m p l e s : 
 
 1 )   G e t   a l l   p e r m i s s i o n s   o n   d i r e c t o r y   o b j e c t   ( n o t   i n c l u d e   i n h e r i t e d   a n d   A D   d e f a u l t   p e r m i s s i o n s   b y   d e f a u l t ) : 
 
 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n 
 
 
 
 2 )   G e t   a l l   p e r m i s s i o n s   o n   d i r e c t o r y   o b j e c t   ( i n c l u d i n g   i n h e r i t e d   a n d   A D   d e f a u l t ) : 
 
 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n   - i n h e r i t e d   - s c h e m a D e f a u l t 
 
 
 
 3 )   G e t   a l l   p e r m i s s i o n   o n   d i r e c t o r y   o b j e c t   f o r   s p e c i f i e d   t r u s t e e s : 
 
 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n   - a c c o u n t   ( ' s e l f ' , ' e v e r y o n e ' ) 
 
 	 
 
 4 )   G e t   a l l   p e r m i s s i o n   o n   d i r e c t o r y   o b j e c t   f o r   s p e c i f i e d   t r u s t e e s ,   i n c l u d i n g   p e r m i s s i o n s   t h r o u g h   g r o u p   m e m b e r s h i p : 
 
 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n   - a c c o u n t   ' J o h n   D o e '   - U s e T o k e n G r o u p s 
 
 	 
 
 5 )   G e t   a l l   ' R e a d   a l l   p r o p e r t i e s '   p e r m i s s i o n s   o n   d i r e c t o r y   o b j e c t : 	 
 
 	 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n   - R i g h t s   ' R e a d P r o p e r t y ' 
 
 	 
 
 6 )   G e t   a l l   ' W r i t e   s a m A c c o u n t N a m e '   a n d   ' W r i t e   n a m e '   p e r m i s s i o n s   o n   d i r e c t o r y   o b j e c t : 
 
 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n   - R i g h t s   ' W r i t e P r o p e r t y '   - P r o p e r t y   ( ' s a m A c c o u n t N a m e ' , ' n a m e ' ) 
 
 	 
 
 7 )   T h e   s a m e   a s   ( 6 )   b u t   i n c l u d e   a l s o   p e r m i s s i o n s   t h a t   a r e   s u p e r s e t   o f   s p e c i f i e d   p e r m i s s i o n s ,   l i k e   ' W r i t e   a l l   p r o p e r t i e s '   a n d   ' F u l l   C o n t r o l ' : 
 
 
 
 	 G e t - Q A D O b j e c t   i d e n t i t y   - S e c u r i t y M a s k   D a c l   |   G e t - Q A D P e r m i s s i o n   - U s e E x t e n d e d M a t c h   - R i g h t s   ' W r i t e P r o p e r t y '   - P r o p e r t y   ( ' s a m A c c o u n t N a m e ' , ' n a m e ' ) 
 
 	 
 
 8 )   C o p y   p e r m i s s i o n s   f r o m   o n e   d i r e c t o r y   o b j e c t   t o   a n o t h e r : 
 
 	 
 
 	 G e t - Q A D P e r m i s s i o n   s o u r c e O b j e c t   |   A d d - Q A D P e r m i s s i o n   t a r g e t O b j e c t 
 
 	 
 
 9 )   G r a n t   " A l l o w   F u l l   C o n t r o l   o n   t h i s   o b j e c t   a n d   a l l   c h i l d   o b j e c t s "   p e r m i s s i o n   o n   d i r e c t o r y   o b j e c t : 
 
 
 
 	 A d d - Q A D P e r m i s s i o n   d i r O b j e c t I d e n t i t y   - A c c o u n t   t r u s t e e I d e n t i t y   - R i g h t s   ' G e n e r i c A l l ' 
 
 	 
 
 1 0 )   G r a n t   " D e n y   W r i t e   G e n e r a l - I n f o r m a t i o n ,   W e b - I n f o r m a t i o n   a n d   s a m A c c o u n t N a m e   o n   t h i s   o b j e c t   o n l y "   p e r m i s s i o n s   o n   d i r e c t o r y   o b j e c t : 
 
 	 
 
 	 A d d - Q A D P e r m i s s i o n   d i r O b j e c t I d e n t i t y   - D e n y   - A c c o u n t   t r u s t e e I d e n t i t y   - R i g h t s   ' W r i t e P r o p e r t y '   - P r o p e r t y S e t   ( ' G e n e r a l - I n f o r m a t i o n ' , ' W e b - I n f o r m a t i o n ' )   - P r o p e r t y   ' s a m A c c o u n t N a m e '   - A p p l y T o   T h i s O b j e c t O n l y 
 
 	 
 
 1 1 )   G r a n t   " A l l o w   C r e a t e   u s e r   c h i l d   o b j e c t s   o n   t h i s   o b j e c t   a n d   i m m e d i a t e   c h i l d   o b j e c t s "   p e r m i s s i o n   o n   d i r e c t o r y   o b j e c t : 
 
 	 
 
 	 A d d - Q A D P e r m i s s i o n   d i r O b j e c t I d e n t i t y   - A c c o u n t   t r u s t e e A c c o u n t   - R i g h t s   ' C r e a t e C h i l d '   - C h i l d T y p e   ' u s e r '   - A p p l y T o   ' T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s ' 	 
 
 	 
 
 1 2 )   G r a n t   " A l l o w   R e a d   a l l   p r o p e r t i e s   o n   t h i s   o b j e c t   a n d   a l l   c h i l d   o b j e c t s "   p e r m i s s i o n   t o   m u l t i p l e   o b j e c t s : 
 
 
 
 	 G e t - Q A D O b j e c t   - o u   O U I d e n t i t y   - S e c u r i t y M a s k   D a c l   |   A d d - Q A D p e r m i s s i o n   - A c c o u n t   t r u s t e e I d e n t i t y   - R i g h t s   ' R e a d P r o p e r t y ' 
 
 	 
 
 1 3 )   P i p e   p e r m i s s i o n s   f r o m   G e t - Q A D P e r m i s s i o n   t o   R e m o v e - Q A D P e r m i s s i o n   i n   o r d e r   t o   r e m o v e   p e r m i s s i o n s : 
 
 
 
 	 G e t - Q A D P e r m i s s i o n   o b j e c t I d e n t i t y   - D e n y   |   R e m o v e - Q A D P e r m i s s i o n 
 
 	 
 
 1 4 )   G e t   o w n e r   o f   o b j e c t : 
 
 
 
 	 G e t - Q A D O b j e c t S e c u r i t y   ' J o h n   D o e '   - O w n e r 
 
 	 
 
 1 5 )   G e t   s e c u r i t y   d e s c r i p t o r   o f   o b j e c t   i n   S D D L   f o r m a t : 
 
 
 
 	 G e t - Q A D O b j e c t S e c u r i t y   ' J o h n   D o e '   - S D D L 
 
 	 
 
 1 6 )   S e t   o b j e c t ' s   o w n e r : 
 
 
 
 	 S e t - Q A D O b j e c t S e c u r i t y   ' J o h n   D o e '   - O w n e r   ' J a n e   D o e ' 
 
 	 
 
 1 7 )   B l o c k   p e r m i s s i o n   i n h e r i t a n c e   f o r   o b j e c t   a n d   r e m o v e   i n h e r i t e d   p e r m i s s i o n s : 
 
 
 
 	 S e t - Q A D O b j e c t S e c u r i t y   ' J o h n   D o e '   - L o c k I n h e r i t a n c e   - R e m o v e 
 
 	 
 
 1 8 )   U n b l o c k   p e r m i s s i o n   i n h e r i t a n c e   f o r   o b j e c t : 
 
 
 
 	 S e t - Q A D O b j e c t S e c u r i t y   ' J o h n   D o e '   - U n l o c k I n h e r i t a n c e 	 
 
 	 
 
 1 9 )   C o n f i g u r e   p e r m i s s i o n   s e t t i n g s   o n   a   g i v e n   o r g a n i z a t i o n a l   u n i t   ( O U )   s o   a s   t o   g i v e   
 
       a   c e r t a i n   g r o u p   t h e   a u t h o r i t y   t o   v i e w   o r   m o d i f y   g r o u p   m e m b e r s h i p   o f   a n y   g r o u p   i n   t h a t   O U   
 
       ( g i v e   t h e   g r o u p   R e a d - W r i t e   a c c e s s   t o   t h e   M e m b e r   a t t r i b u t e   o n   a l l   g r o u p   o b j e c t s   h e l d   i n   t h a t   O U ) . 
 
 
 
 	 A d d - Q A D P e r m i s s i o n   ' d o m a i n . c o m / T e s t O U '    A c c o u n t   ' d o m a i n \ g r o u p '    R i g h t s   ' R e a d P r o p e r t y , W r i t e P r o p e r t y '    P r o p e r t y   ' m e m b e r '    A p p l y T o   ' A l l '    A p p l y T o T y p e   ' g r o u p ' 
 
 	 
 
 2 0 )   F o r   e v e r y   c o m p u t e r   o b j e c t   h e l d   i n   a   g i v e n   o r g a n i z a t i o n a l   u n i t ,   l i s t   t h e   o w n e r   o f   t h e   c o m p u t e r   o b j e c t . 
 
 
 
 	 G e t - Q A D C o m p u t e r    o u   ' d o m a i n . c o m / C o m p u t e r s '    s l   0   - S e c u r i t y M a s k   ' d a c l '   |   % { $ t a r g e t   =   $ _ ;   G e t - Q A D O b j e c t S e c u r i t y   $ _   - o w n e r   |   s e l e c t   @ { n = " C o m p u t e r " ; e = { $ t a r g e t } } ,   @ { n = " O w n e r  ; e = { $ _ } } } 
 
 
 
 2 1 )   F o r   e v e r y   c o m p u t e r   o b j e c t   h e l d   i n   a   g i v e n   o r g a n i z a t i o n a l   u n i t ,   s e t   t h e   o w n e r   o f   
 
     t h e   c o m p u t e r   o b j e c t   t o   t h e   A d m i n i s t r a t o r s   d o m a i n   l o c a l   g r o u p . 
 
 
 
 	 G e t - Q A D C o m p u t e r    s l   0    o u   ' d o m a i n . c o m / c o m p u t e r s '    S e c u r i t y M a s k   ' d a c l '   |   S e t - Q A D O b j e c t S e c u r i t y    O w n e r   ' d o m a i n \ a d m i n i s t r a t o r s ' 
 
 	 
 
 2 2 )   C o n f i g u r e   s e c u r i t y   s e t t i n g s   o n   a   g i v e n   o r g a n i z a t i o n a l   u n i t   ( O U )   s o   t h a t   a   c e r t a i n   g r o u p   h a s   
 
     R e a d - W r i t e   a c c e s s   t o   t h e   P e r s o n a l   I n f o r m a t i o n   p r o p e r t y   s e t   o n   e v e r y   u s e r   o b j e c t   h e l d   i n   t h a t   O U . 
 
     
 
 	 A d d - Q A D P e r m i s s i o n   ' d o m a i n . c o m / U s e r s '   - A c c o u n t   ' d o m a i n \ g r o u p '    R i g h t s   ' R e a d P r o p e r t y , W r i t e P r o p e r t y '    P r o p e r t y S e t   ' P e r s o n a l - I n f o r m a t i o n '    A p p l y T o   ' C h i l d O b j e c t s '    A p p l y T o T y p e   ' u s e r ' 
 
 	 
 
 
 
 
 
 1 . 1 . 1 .   G e t - Q A D P e r m i s s i o n   c m d l e t 
 
 
 
 1 . 1 . 1 . 1 .   S y n t a x :   
 
 	 G e t - Q A D P e r m i s s i o n   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   [ - I n h e r i t e d ]   [ - S c h e m a D e f a u l t ]   
 
 	 	 [ - U s e E x t e n d e d M a t c h ]   [ - A c c o u n t   < I d e n t i t y P a r a m e t e r [ ] > ]   [ - U s e T o k e n G r o u p s ]   
 
 	 	 [ - A l l o w ]   [ - D e n y ]   [ - A p p l y T o   < A r s S e c u r i t y I n h e r i t a n c e [ ] > ]   [ - A p p l y T o T y p e   < s t r i n g [ ] > ]   
 
 	 	 [  R i g h t s   < A c t i v e D i r e c t o r y R i g h t s [ ] > ]   [ - P r o p e r t y   < s t r i n g [ ] > ]   
 
 	 	 [ - P r o p e r t y S e t   < s t r i n g [ ] > ]   [ - C h i l d T y p e   < s t r i n g [ ] > ]   [ - E x t e n d e d R i g h t   < s t r i n g [ ] > ]   
 
 	 	 [ - V a l i d a t e d W r i t e   < s t r i n g [ ] > ]   [  V e r b o s e ]   [ C o n n e c t i o n P a r a m e t e r s ] 
 
 	 	 
 
 1 . 1 . 1 . 2 .   I n p u t   o b j e c t :   A r s D i r e c t o r y O b j e c t   a n d   c o m p a t i b l e . 
 
 
 
 1 . 1 . 1 . 3 .   O u t p u t   o b j e c t :   A r s P e r m i s s i o n . 
 
 
 
 1 . 1 . 1 . 4 .   P a r a m e t e r s : 
 
 	 -   I d e n t i t y   ( m a n d a t o r y ) .   I d e n t i t y   o f   o b j e c t   f o r   w h i c h   t o   r e t r i e v e   p e r m i s s i o n s   o r   t h e   o b j e c t   i t s e l f .   S u p p o r t s   i n p u t   f r o m   p i p e l i n e . 
 
 	 -   I n h e r i t e d   ( o p t i o n a l ) .   I n c l u d e   i n h e r i t e d   p e r m i s s i o n s . 
 
 	 -   S c h e m a D e f a u l t   ( o p t i o n a l ) .   I n c l u d e   A D   d e f a u l t   p e r m i s s i o n s . 
 
 	 -   U s e E x t e n d e d M a t c h   ( o p t i o n a l ) .   G e t   p e r m i s s i o n s   t h a t   a r e   s u p e r s e t   o f   g i v e n   p a r a m e t e r s .   F o r   e x a m p l e : 
 
 	 	 " G e t - Q A D P e r m i s s i o n   ' t a r g e t '   - R i g h t s   ' R e a d P r o p e r t y ' "   r e t u r n s   o n l y   p e r m i s s i o n s   w i t h   ' R e a d P r o p e r t y '   a c c e s s   f l a g s . 
 
 	 	 " G e t - Q A D P e r m i s s i o n   ' t a r g e t '   - R i g h t s   ' R e a d P r o p e r t y '   - U s e E x t e n d e d M a t c h "   r e t u r n s   a l s o   p e r m i s s i o n s   w i t h   ' G e n e r i c A l l '   o r   ' G e n e r i c R e a d '   a c c e s s   f l a g s . 
 
 	 -   A c c o u n t   ( o p t i o n a l ) .   A r r a y   o f   a c c o u n t s   f o r   w h i c h   t o   r e t r i e v e   p e r m i s s i o n s . 
 
 	 -   U s e T o k e n G r o u p s   ( o p t i o n a l ) .   C o n s i d e r   t r a n s i t i v e   g r o u p   m e m b e r s h i p   f o r   ' A c c o u n t '   p a r a m e t e r . 
 
 	 -   A l l o w   ( o p t i o n a l ) .   G e t   o n l y   a l l o w   p e r m i s s i o n s . 
 
 	 -   D e n y   ( o p t i o n a l ) .   G e t   o n l y   d e n y   p e r m i s s i o n s . 
 
 	 -   A p p l y T o   ( o p t i o n a l ) .   G e t   o n l y   p e r m i s s i o n   w i t h   s p e c i f i e d   t y p e s   o f   i n h e r i t a n c e . 
 
 	 	 P o s s i b l e   v a l u e s :   
 
 	 	 	 A l l ,   
 
 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s ,   
 
 	 	 	 T h i s O b j e c t O n l y ,   
 
 	 	 	 C h i l d O b j e c t s ,   
 
 	 	 	 I m m e d i a t e C h i l d O b j e c t s O n l y 
 
 	 -   A p p l y T o T y p e   ( o p t i o n a l ) .   G e t   o n l y   p e r m i s s i o n s   t h a t   a p p l y   t o   s p e c i f i c   o b j e c t s   c l a s s e s . 
 
 	 -   R i g h t s   ( o p t i o n a l ) .   G e t   o n l y   p e r m i s s i o n s   t h a t   m a t c h   s p e c i f i e d   a c c e s s   m a s k . 	 	 
 
 	 	 P o s s i b l e   v a l u e s   ( a n y   c o m b i n a t i o n   o f   b e l o w ) : 
 
 	 	 	 C r e a t e C h i l d ,                 
 
 	 	 	 D e l e t e C h i l d ,                 
 
 	 	 	 L i s t C h i l d r e n ,                 
 
 	 	 	 S e l f ,                 
 
 	 	 	 R e a d P r o p e r t y ,                 
 
 	 	 	 W r i t e P r o p e r t y , 	                 
 
 	 	 	 D e l e t e T r e e , 	                 
 
 	 	 	 L i s t O b j e c t , 	                 
 
 	 	 	 E x t e n d e d R i g h t , 	                 
 
 	 	 	 D e l e t e , 	                 
 
 	 	 	 R e a d C o n t r o l , 	                 
 
 	 	 	 G e n e r i c E x e c u t e , 	                 
 
 	 	 	 G e n e r i c W r i t e , 	                 
 
 	 	 	 G e n e r i c R e a d , 	                 
 
 	 	 	 W r i t e D a c l , 	                 
 
 	 	 	 W r i t e O w n e r , 	                 
 
 	 	 	 G e n e r i c A l l , 	                 
 
 	 	 	 S y n c h r o n i z e , 	                 
 
 	 	 	 A c c e s s S y s t e m S e c u r i t y 
 
 	 -   P r o p e r t y   ( o p t i o n a l ) .   G e t   o n l y   p e r m i s s i o n s   o n   t h e   g i v e n   a t t r i b u t e s .   A t t r i b u t e   i d e n t i f i e d   b y   i t s   ' l d a p D i s p l a y N a m e ' . 
 
 	 -   P r o p e r t y S e t   ( o t i o n a l ) .   G e t   o n l y   p e r m i s s i o n s   o n   t h e   g i v e n   p r o p e r t y   s e t s .   P r o p e r t y   s e t   i d e n t i f i e d   b y   i t s   ' n a m e ' . 
 
 	 -   C h i l d T y p e   ( o p t i o n a l ) .   G e t   o n l y   p e r m i s s i o n s   o n   g e b e n   t y p e s   o f   c h i l d   o b j e c t s .   O b j e c t   t y p e   i d e n t i f i e d   b y   ' l d a p D i s p l a y N a m e '   o f   o b j e c t   c l a s s . 
 
 	 -   E x t e n d e d R i g h t   ( o p t i o n a l ) .   G e t   o n l y   g i v e n   e x t e n d e d   r i g h t s   p e r m i s s i o n s .   E x t e n d e d   r i g h t   i d e n t i f i e d   b y   i t s   ' n a m e ' . 
 
 	 -   V a l i d a t e d W r i t e   ( o p t i o n a l ) .   G e t   o n l y   g i v e n   v a i d a t e d   w r i t e s   p e r m i s s i o n s .   V a l i d a t e d   w r i t e   i d e n t i f i e d   b y   i t s   ' n a m e ' . 
 
 	 -   V e r b o s e   ( o p t i o n a l ) .   O u t p u t   a d d i t i o n a l   i n f o r m a t i o n   a b o u t   c o m m a n d   e x e c u t i o n   t o   s c r e e n . 
 
 	 -   C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) .   T h e   s a m e   a s   i n   o t h e r   c m d l e t s . 
 
 
 
 1 . 1 . 2 .   A d d - Q A D P e r m i s s i o n   c m d l e t 
 
 
 
 1 . 1 . 2 . 1 .   S y n t a x :   A d d - Q A D P e r m i s s i o n    I d e n t i t y   < I d e n t i t y P a r a m e t e r >   - A c c o u n t   < I d e n t i t y P a r a m e t e r [ ] >   
 
 	 	 	 	 [ - D e n y ]   [ - A p p l y T o   < A r s S e c u r i t y I n h e r i t a n c e > ]   [ - A p p l y T o T y p e   < s t r i n g [ ] > ] 
 
 	 	 	 	 [ - R i g h t s   < A c t i v e D i r e c t o r y R i g h t s > ]   [ - P r o p e r t y   < s t r i n g [ ] > ]   [ - P r o p e r t y S e t   < s t r i n g [ ] > ]   
 
 	 	 	 	 [ - C h i l d T y p e   < s t r i n g [ ] > ]   [ - E x t e n d e d R i g h t   < s t r i n g [ ] > ]   [ - V a l i d a t e d W r i t e   < s t r i n g [ ] > ]   
 
 	 	 	 	 [ - V e r b o s e ]   [  W h a t I f ]   [  C o n f i r m ]   [ C o n n e c t i o n P a r a m e t e r s ] 
 
 	 	 	 	 
 
 	 	 	 	 A d d - Q A D P e r m i s s i o n   - I d e n t i t y   < I d e n t i t y P a r a m e t e r >   - I n p u t P e r m i s s i o n   < A r s P e r m i s s i o n > 
 
 	 	 	 	 
 
 1 . 1 . 2 . 2 .   I n p u t   o b j e c t s : 	 A r s D i r e c t o r y O b j e c t   a n d   c o m p a t i b l e   ( t a r g e t   A D   o b j e c t ) ,   A r s P e r m i s s i o n   ( p e r m i s s i o n   t o   c o p y ) 
 
 
 
 1 . 1 . 2 . 3 .   O u t p u t   o b j e c t s :   A r s P e r m i s s i o n   ( p e r m i s s i o n s   g r a n t e d   t o   A D   o b j e c t ) 
 
 
 
 1 . 1 . 2 . 4 .   P a r a m e t e r s : 
 
 	 -   I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   I d e n t i t y   o f   t a r g e t   o b j e c t   o r   o b j e c t   i t s e l f . 
 
 	 -   I n p u t P e r m i s s i o n   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   P e r m i s s i o n   o b j e c t   t o   c o p y   o n   t a r g e t   o b j e c t . 
 
 	 -   A c c o u n t ( m a n d a t o r y ) .   G r a n t   p e r m i s s i o n s   t o   t h e   g i v e n   a c c o u n t s . 
 
 	 -   D e n y   ( o p t i o n a l ) .   A d d   ' d e n y '   p e r m i s s i o n .   D e f a u l t   i s   ' a l l o w '   p e r m i s s i o n . 
 
 	 -   A p p l y T o   ( o p t i o n a l ) .   S p e c i f y   t y p e   o f   i n h e r i t a n c e   f o r   p e r m i s s i o n .   D e f a u l t   i s :   A l l 
 
 	 	 P o s s i b l e   v a l u e s :   
 
 	 	 	 A l l ,   
 
 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s ,   
 
 	 	 	 T h i s O b j e c t O n l y ,   
 
 	 	 	 C h i l d O b j e c t s ,   
 
 	 	 	 I m m e d i a t e C h i l d O b j e c t s O n l y 
 
 	 -   A p p l y T o T y p e   ( o p t i o n a l ) .   S p e c i f y   o b j e c t   c l a s s e s   t o   w h i c h   p e r m i s s i o n   a p p l i e d .   D e f a u l t   i s   a l l   o b j e c t   t y p e s . 
 
 	 -   R i g h t s   ( o p t i o n a l ) .   S p e c i f y   a c c e s s   m a s k   f o r   g r a n t e d   p e r m i s s i o n s .   D e f a u l t   i s   ' G e n e r i c A l l ' . 	 	 
 
 	 	 P o s s i b l e   v a l u e s   ( a n y   c o m b i n a t i o n   o f   b e l o w ) : 
 
 	 	 	 C r e a t e C h i l d ,                 
 
 	 	 	 D e l e t e C h i l d ,                 
 
 	 	 	 L i s t C h i l d r e n ,                 
 
 	 	 	 S e l f ,                 
 
 	 	 	 R e a d P r o p e r t y ,                 
 
 	 	 	 W r i t e P r o p e r t y , 	                 
 
 	 	 	 D e l e t e T r e e , 	                 
 
 	 	 	 L i s t O b j e c t , 	                 
 
 	 	 	 E x t e n d e d R i g h t , 	                 
 
 	 	 	 D e l e t e , 	                 
 
 	 	 	 R e a d C o n t r o l , 	                 
 
 	 	 	 G e n e r i c E x e c u t e , 	                 
 
 	 	 	 G e n e r i c W r i t e , 	                 
 
 	 	 	 G e n e r i c R e a d , 	                 
 
 	 	 	 W r i t e D a c l , 	                 
 
 	 	 	 W r i t e O w n e r , 	                 
 
 	 	 	 G e n e r i c A l l , 	                 
 
 	 	 	 S y n c h r o n i z e , 	                 
 
 	 	 	 A c c e s s S y s t e m S e c u r i t y 
 
 	 -   P r o p e r t y   ( o p t i o n a l ) .   S p e c i f y   a t t r i b u t e s   t o   w h i c h   p e r m i s s i o n   a p p l i e d .   D e f a u l t   i s   ' a l l   a t t r i b u t e s ' .   A t t r i b u t e   i d e n t i f i e d   b y   i t s   ' l d a p D i s p l a y N a m e ' . 	 	 	 
 
 	 -   P r o p e r t y S e t   ( o p t i o n a l ) .   S p e c i f y   p r o p e r t y   s e t s   t o   w h i c h   p e r m i s s i o n   a p p l i e d .   D e f a u l t   i s   ' a l l   a t t r i b u t e s ' .   P r o p e r t y   s e t   i d e n t i f i e d   b y   i t s   ' n a m e ' . 
 
 	 -   C h i l d T y p e   ( o p t i o n a l ) .   S p e c i f y   c h i l d   o b j e c t   t y p e s   t o   w h i c h   p e r m i s s i o n   a p p l i e d .   D e f a u l t   i s   ' a l l   c h i l d   t y p e s ' .   C h i l d   t y p e   i d e n t i f i e d   b y   ' l d a p D i s p l a y N a m e '   o f   o b j e c t   c l a s s . 
 
 	 -   E x t e n d e d R i g h t   ( o p t i o n a l ) .   S p e c i f y   e x t e n d e d   r i g h t s   g r a n t e d   b y   p e r m i s s i o n .   D e f a u l t   i s   ' a l l   e x t e n d e d   r i g h t s ' .   E x t e n d e d   r i g h t   i d e n t i f i e d   b y   i t s   ' n a m e ' . 
 
 	 -   V a l i d a t e d W r i t e   ( o p t i o n a l ) .   S p e c i f y   v a l i d a t e d   w r i t e s   g r a n t e d   b y   p e r m i s s i o n .   D e f a u l t   i s   ' a l l   v a l i d a t d   w r i t e s ' .   V a l i d a t e d   w r i t e   i d e n t i f i e d   b y   i t s   ' n a m e ' . 
 
 	 -   V e r b o s e   ( o p t i o n a l ) .   O u t p u t   a d d i t i o n a l   i n f o r m a t i o n   a b o u t   c o m m a n d   e x e c u t i o n   t o   s t r i n g . 
 
 	 -   W h a t I f   ( o p t i o n a l ) .   W r i t e   w h a t   p e r m i s s i o n s   w i l l   b e   g r a n t e d   i n   r e s u l t   o f   c o m m a n d   e x e c u t i o n ,   w i t h o u t   r e a l l y   g r a n t   a n y   p e r m i s s i o n s . 
 
 	 -   C o n f i r m   ( o p t i o n a l ) .   R e q u i r e   c o n f i r m a t i o n   b e f o r e   g r a n t   a n y   p e r m i s s i o n . 
 
 	 -   C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) .   T h e   s a m e   a s   t h e   o t h e r   c m d l e t s . 
 
 	 	 	 
 
 1 . 1 . 3 .   R e m o v e - Q A D P e r m i s s i o n   c m d l e t 
 
 
 
 1 . 1 . 3 . 1 .   S y n t a x :   R e m o v e - Q A D P e r m i s s i o n   [ - I n p u t P e r m i s s i o n ]   < A r s P e r m i s s i o n >   [ C o n n e c t i o n   p a r a m e t e r s ]   
 
 	 	 	 	 	 	 	 	 	 	 [ - V e r b o s e ] [ - W h a t I f ] [ - C o n f i r m ] 
 
 
 
 1 . 1 . 3 . 2 .   I n p u t   o b j e c t s :   A r s P e r m i s s i o n   ( p e r m i s s i o n   t o   b e   r e m o v e d ) 
 
 
 
 1 . 1 . 3 . 3 .   O u t p u t   o b j e c t s :   A r s P e r m i s s i o n   ( r e m o v e d   p e r m i s s i o n ) 
 
 
 
 1 . 1 . 3 . 4 .   P a r a m e t e r s : 
 
 	 -   I n p u t P e r m i s s i o n   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   P e r m i s s i o n   t o   b e   r e m o v e d . 
 
 	 -   C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 	 -   V e r b o s e 
 
 	 -   W h a t I f 
 
 	 -   C o n f i r m 
 
 
 
 1 . 1 . 4 .   G e t - Q A D O b j e c t S e c u r i t y   c m d l e t 
 
 
 
 1 . 1 . 4 . 1 .   S y n t a x :   G e t - Q A D O b j e c t S e c u r i t y   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   - O w n e r   [ C o n n e c t i o n   p a r a m e t e r s ] [ - V e r b o s e ] 
 
 	 	 	 	   G e t - Q A D O b j e c t S e c u r i t y   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   - S d d l   [ C o n n e c t i o n   p a r a m e t e r s ] [ - V e r b o s e ] 
 
 	 	 	 	   
 
 1 . 1 . 4 . 2 .   I n p u t   o b j e c t s :   A r s D i r e c t o r y O b j e c t   ( t a r g e t   o b j e c t   t o   r e t r i e v e   s e c u r i t y   i n f o r m a t i o n ) 
 
 
 
 1 . 1 . 4 . 3 .   O u t p u t   o b j e c t s :   A r s S e c u r i t y P r i n c i p a l O b j e c t   ( o w n e r   o f   t a r g e t   o b j e c t ) ,   S y s t e m . S t r i n g   ( t a r g e t   o b j e c t s   s e c u r i t y   d e s c r i p t o r   i n   S D D L   f o r m ) 	 	 	 	   
 
 
 
 1 . 1 . 4 . 4 .   P a r a m e t e r s : 
 
 	 -   I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   I d e n t i t y   o f   t a r g e t   A D   o b j e c t   o r   o b j e c t   i t s e l f . 
 
 	 -   O w n e r   ( m a n d a t o r y ) .   R e t r i e v e   o w n e r   o f   t a r g e t   o b j e c t . 
 
 	 -   S d d l   ( m a n d a t o r y ) .   R e t r i e v e   s e c u r i t y   d e s c r i p t o r   i n   S D D L   f o r m . 
 
 	 -   C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 	 -   V e r b o s e   ( o p t i o n a l ) . 
 
 
 
 
 
 1 . 1 . 5 .   S e t - Q A D O b j e c t S e c u r i t y   c m d l e t 
 
 
 
 1 . 1 . 5 . 1 .   S y n t a x :   S e t - Q A D O b j e c t S e c u r i t y   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   - O w n e r   < I d e n t i t y P a r a m e t e r >   [ C o n n e c t i o n   p a r a m e t e r ] 
 
 	 	 	 	 	 [ - V e r b o s e ] [ - W h a t I f ] [ - C o n f i r m ] 
 
 	 	 	 	   S e t - Q A D O b j e c t S e c u r i t y   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   - L o c k I n h e r i t a n c e   [ - R e m o v e ]   [ C o n n e c t i o n   p a r a m e t e r ] 
 
 	 	 	 	 	 [ - V e r b o s e ] [ - W h a t I f ] [ - C o n f i r m ] 	 
 
 	 	 	 	   S e t - Q A D O b j e c t S e c u r i t y   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   - U n l o c k I n h e r i t a n c e   [ C o n n e c t i o n   p a r a m e t e r ] 
 
 	 	 	 	 	 [ - V e r b o s e ] [ - W h a t I f ] [ - C o n f i r m ] 
 
 	 	 	 	 	 
 
 1 . 1 . 5 . 2 .   I n p u t   o b j e c t s :   A r s D i r e c t o r y O b j e c t   ( t a r g e t   A D   o b j e c t ) 	 	 	 	 	 
 
 
 
 1 . 1 . 5 . 3 .   O u t p u t   o b j e c t s :   A r s S e c u r i t y P r i n c i p a l O b j e c t   ( o w n e r   o f   t a r g e t   o b j e c t ) 
 
 
 
 1 . 1 . 5 . 4 .   P a r a m e t e r s : 
 
 	 -   I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   I d e n t i t y   o f   t a r g e t   A D   o b j e c t   o r   o b j e c t   i t s e l f . 
 
 	 -   O w n e r   ( m a n d a t o r y ) .   I d e n t i t y   o f   A D   o b j e c t   t h a t   m u s t   b e   s e t   t a r g e t   o b j e c t s   o w n e r . 
 
 	 -   L o c k I n h e r i t a n c e   ( m a n d a t o r y ) .   B l o c k   p e r m i s s i o n   i n h e r i t a n c e . 
 
 	 -   R e m o v e   ( o p t i o n a l ) .   R e m o v e   i n h e r i t e d   p e r m i s s i o n s   w h e n   b l o c k   p e r m i s s i o n   i n h e r i t a n c e .   B y   d e f a u l t   i n h e r i t e d   p e r m i s s i o n s   a r e   c o p i e d . 
 
 	 -   U n l o c k I n h e r i t a n c e   ( m a n d a t o r y ) .   U n b l o c k   p e r m i s s i o n   i n h e r i t a n c e . 
 
 	 -   C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 	 -   V e r b o s e   ( o p t i o n a l ) . 
 
 	 -   W h a t I f   ( o p t i o n a l ) . 
 
 	 -   C o n f i r m   ( o p t i o n a l ) . 
 
 
 
 1 . 1 . 6 .   ' S e c u r i t y M a s k '   p a r a m e t e r   a d d e d   t o   G e t - Q A D *   c m d l e t s . 
 
 
 
 	 P o s s i b l e   v a l u e s   ( a n y   o f   b e l o w   v a r i a n t s   o r   a n y   c o m b i n a t i o n ) : 
 
 	 	 N o n e :   D o e s   n o t   r e a d   o r   w r i t e   s e c u r i t y   d a t a . 
 
 	 	 O w n e r :   R e a d s   o r   w r i t e s   t h e   o w n e r   d a t a . 
 
 	 	 G r o u p :   R e a d s   o r   w r i t e s   t h e   g r o u p   d a t a . 
 
 	 	 D a c l :   R e a d s   o r   w r i t e s   t h e   d i s c r e t i o n a r y   a c c e s s - c o n t r o l   l i s t   ( D A C L )   d a t a . 
 
 	 	 S a c l :   R e a d s   o r   w r i t e s   t h e   s y s t e m   a c c e s s - c o n t r o l   l i s t   ( S A C L )   d a t a . 
 
 
 
 1 . 1 . 7 .   ' A r s P e r m i s s i o n '   o b j e c t   d e s c r i p t i o n . 
 
 
 
 1 . 1 . 7 . 1 .   D e s c r i p t i o n . 
 
 	 	 	 A r s P e r m i s s i o n   o b j e c t   w r a p s   t h e   s i n g l e   A C E   f r o m   A C L   o f   A D   o b j e c t . 
 
 	 	 	 
 
 1 . 1 . 7 . 2 .   P r o p e r t i e s : 
 
 	 -   A c c e s s C o n t r o l T y p e   ( A c c e s s C o n t r o l T y p e ) .   T y p e   o f   a c c e s s   c o n t r o l . 
 
 	 	 P o s s i b l e   v a l u e s :   ( A l l o w ,   D e n y ) 
 
 	 -   A c c o u n t   ( A r s S e c u r i t y P r i n c i p a l O b j e c t ) .   P e r m i s s i o n   t r u s t e e . 
 
 	 -   A c c o u n t N a m e   ( s t r i n g ) .   P e r m i s s i o n   t r u s t e e   d i s p l a y   n a m e . 
 
 	 -   A p p l y T o   ( e n u m e r a t i o n ) .   
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 A l l ,   
 
 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s ,   
 
 	 	 	 T h i s O b j e c t O n l y ,   
 
 	 	 	 C h i l d O b j e c t s ,   
 
 	 	 	 I m m e d i a t e C h i l d O b j e c t s O n l y 	 
 
 	 -   A p p l y T o D i s p l a y   ( s t r i n g ) .   U s e r - f r i e n d l y   m e s s a g e   f o r   w h i c h   o b j e c t s   p e r m i s s i o n   a p p l i e d . 
 
 	 -   A p p l y T o T y p e   ( A r s C l a s s O b j e c t ) .   O b j e c t   c l a s s   t o   w h i c h   p e r m i s s i o n   a p p l i e d . 
 
 	 -   C h i l d T y p e   ( A r s C l a s s O b j e c t ) .   C h i l d   o b j e c t   c l a s s   t o   w h i c h   p e r m i s s i o n   a p p l i e d . 
 
 	 -   E x t e n d e d R i g h t   ( A r s E x t e n d e d R i g h t O b j e c t ) .   E x t e n d e d   r i g h t   g r a n t e d   b y   p e r m i s s i o n . 
 
 	 -   N a t i v e A c e   ( A c t i v e D i r e c t o r y A c c e s s R u l e ) .   N a t i v e   A D S I . N E T   A C E . 
 
 	 -   P r o p e r t y   ( A r s P r o p e r t y O b j e c t ) .   P r o p e r t y   t o   w h i c h   p e r m i s s i o n   a p p l i e s . 
 
 	 -   P r o p e r t y S e t   ( A r s E x t e n d e d R i g h t O b j e c t ) .   P r o p e r t y   s e t   t o   w h i c h   p e r m i s s i o n   a p p l i e s . 
 
 	 -   R i g h t s   ( A c t i v e D i r e c t o r y R i g h t s ) .   R i g h t s   g r a n t e d   b y   p e r m i s s i o n . 
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 C r e a t e C h i l d ,                 
 
 	 	 	 D e l e t e C h i l d ,                 
 
 	 	 	 L i s t C h i l d r e n ,                 
 
 	 	 	 S e l f ,                 
 
 	 	 	 R e a d P r o p e r t y ,                 
 
 	 	 	 W r i t e P r o p e r t y , 	                 
 
 	 	 	 D e l e t e T r e e , 	                 
 
 	 	 	 L i s t O b j e c t , 	                 
 
 	 	 	 E x t e n d e d R i g h t , 	                 
 
 	 	 	 D e l e t e , 	                 
 
 	 	 	 R e a d C o n t r o l , 	                 
 
 	 	 	 G e n e r i c E x e c u t e , 	                 
 
 	 	 	 G e n e r i c W r i t e , 	                 
 
 	 	 	 G e n e r i c R e a d , 	                 
 
 	 	 	 W r i t e D a c l , 	                 
 
 	 	 	 W r i t e O w n e r , 	                 
 
 	 	 	 G e n e r i c A l l , 	                 
 
 	 	 	 S y n c h r o n i z e , 	                 
 
 	 	 	 A c c e s s S y s t e m S e c u r i t y 
 
 	 -   R i g h t s D i s p l a y .   U s e r - f r i e n d l y   d i s p l a y   n a m e   o f   a c c e s s   r i g h t s . 
 
 	 -   S o u r c e   ( e n u m e r a t i o n ) .   S o u r c e   o f   p e r m i s s i o n . 
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 N o t I n h e r i t e d , 
 
 	 	 	 I n h e r i t e d , 
 
 	 	 	 D e f a u l t 	 	 
 
 	 -   T a r g e t O b j e c t   ( A r s D i r e c t o r y O b j e c t ) .   S e c u r a b l e   A D   o b j e c t . 	 	 	 	 
 
 	 -   T r a n s i t i v e A c c o u n t   ( A r s S e c u r i t y P r i n c i p a l O b j e c t ) .   T r a n s i t i v e   p e r m i s s i o n   t r u s t e e   ( i n d i r e c t ) . 
 
 	 -   V a l i d a t e d W r i t e   ( A r s E x t e n d e d R i g h t O b j e c t ) .   V a l i d a t e d   w r i t e   g r a n t e d   b y   p e r m i s s i o n . 
 
 	 	 	 	 	 
 
 
 
 1 . 2 .   I m p r o v e m e n t s   i n   u s e r   m a n a g e m e n t 
 
 
 
 1 . 2 . 1 .   N e w   p a r a m e t e r s   o f   G e t - Q A D U s e r : 
 
 
 
 " 	 H o m e D i r e c t o r y   ( s t r i n g ) 
 
 " 	 H o m e D r i v e   ( s t r i n g ) 
 
 " 	 P r o f i l e P a t h   ( s t r i n g ) 
 
 " 	 L o g o n S c r i p t   ( s t r i n g ) 
 
 " 	 E m a i l   ( s t r i n g ) 
 
 " 	 A c c o u n t E x p i r e s B e f o r e   ( D a t e T i m e ) 
 
 " 	 A c c o u n t E x p i r e s A f t e r   ( D a t e T i m e ) 
 
 " 	 A c c o u n t N e v e r E x p i r e s   ( b o o l ) 
 
 " 	 P a s s w o r d N e v e r E x p i r e s   ( b o o l ) 
 
 
 
 1 . 2 . 2 .   N e w   p a r a m e t e r s   o f   S e t - Q A D U s e r 
 
 
 
 " 	 H o m e D i r e c t o r y   ( s t r i n g ) 
 
 " 	 H o m e D r i v e   ( s t r i n g ) 
 
 " 	 P r o f i l e P a t h   ( s t r i n g ) 
 
 " 	 L o g o n S c r i p t   ( s t r i n g ) 
 
 " 	 E m a i l   ( s t r i n g ) 
 
 " 	 A c c o u n t E x p i r e s   ( D a t e T i m e ,   n u l l a b l e ) 
 
 " 	 P a s s w o r d N e v e r E x p i r e s   ( b o o l ) 
 
 " 	 U s e r M u s t C h a n g e P a s s w o r d   ( b o o l ) 
 
 " 	 T s P r o f i l e P a t h   ( s t r i n g ) 
 
 " 	 T s H o m e D i r e c t o r y   ( s t r i n g ) 
 
 " 	 T s H o m e D r i v e   ( s t r i n g ) 
 
 " 	 T s W o r k D i r e c t o r y   ( s t r i n g ) 
 
 " 	 T s I n i t i a l P r o g r a m   ( s t r i n g ) 
 
 " 	 T s M a x D i s c o n n e c t i o n T i m e   ( T i m e S p a n ) 
 
 " 	 T s M a x C o n n e c t i o n T i m e   ( T i m e S p a n ) 
 
 " 	 T s M a x I d l e T i m e   ( T i m e S p a n ) 
 
 " 	 T s A l l o w L o g o n   ( b o o l ) 
 
 " 	 T s R e m o t e C o n t r o l   ( i n t ) 
 
 " 	 T s R e c o n n e c t i o n A c t i o n   ( i n t ) 
 
 " 	 T s B r o k e n C o n n e c t i o n A c t i o n   ( i n t ) 
 
 " 	 T s C o n n e c t C l i e n t D r i v e s   ( b o o l ) 
 
 " 	 T s C o n n e c t P r i n t e r D r i v e s   ( b o o l ) 
 
 " 	 T s D e f a u l t T o M a i n P r i n t e r   ( b o o l ) 
 
 
 
 1 . 2 . 3 .   N e w   p r o p e r t i e s   o f   U s e r   o b j e c t 
 
 
 
 " 	 H o m e D i r e c t o r y   ( s t r i n g ) 
 
 " 	 H o m e D r i v e   ( s t r i n g ) 
 
 " 	 P r o f i l e P a t h   ( s t r i n g ) 
 
 " 	 L o g o n S c r i p t   ( s t r i n g ) 
 
 " 	 A c c o u n t E x p i r e s   ( D a t e T i m e ,   n u l l a b l e ) 
 
 " 	 P a s s w o r d L a s t S e t   ( D a t e T i m e ,   n u l l a b l e ,   r e a d o n l y ) 
 
 " 	 P a s s w o r d A g e   ( T i m e S p a n ,   n u l l a b l e ,   r e a d o n l y ) 
 
 " 	 P a s s w o r d E x p i r e s   ( D a t e T i m e ,   n u l l a b l e ,   r e a d o n l y ) 
 
 " 	 L a s t L o g o n T i m e s t a m p   ( D a t e T i m e ,   n u l l a b l e ,   r e a d o n l y ) 
 
 " 	 L a s t L o g o n   ( D a t e T i m e ,   n u l l a b l e ,   r e a d o n l y ) 
 
 " 	 L a s t L o g o f f   ( D a t e T i m e ,   n u l l a b l e ,   r e a d o n l y ) 
 
 " 	 A c c o u n t I s D i s a b l e d   ( b o o l ) 
 
 " 	 A c c o u n t I s L o c k e d O u t   ( b o o l ) 
 
 " 	 P a s s w o r d N e v e r E x p i r e s   ( b o o l ) 
 
 " 	 U s e r M u s t C h a n g e P a s s w o r d   ( b o o l ) 
 
 
 
 
 
 1 . 3 .   I m p r o v e m e n t s   i n   g r o u p   m a n a g e m e n t 
 
 
 
 1 . 3 . 1 .   N e w   p a r a m e t e r s   i n   G e t - Q A D G r o u p 
 
 	 - 	 D y n a m i c   ( o p t i o n a l ,   b o o l ) .   P r o x y   m o d e   o n l y .   
 
 	 - 	 E m p t y   ( o p t i o n a l ,   b o o l ) 
 
 
 
 1 . 3 . 2 .   N e w   p a r a m e t e r s   i n   S e t - Q A D G r o u p 
 
 	 - 	 G r o u p T y p e   ( o p t i o n a l ,   e n u m e r a t i o n ) .   P o s s i b l e   v a l u e s :   ( S e c u r i t y ,   D i s t r i b u t i o n ) 
 
 	 - 	 G r o u p S c o p e   ( o p t i o n a l ,   e n u m e r a t i o n ) .   P o s s i b l e   v a l u e s :   ( U n i v e r s a l ,   G l o b a l ,   D o m a i n L o c a l ) 	 	 
 
 
 
 1 . 4 .   A c c e s s   t e m p l a t e   l i n k   m a n a g e m e n t   ( A c t i v e   R o l e s   S e r v e r   s p e c i f i c ) 
 
 
 
 E x a m p l e s : 
 
 
 
 1 )   S e a r c h   f o r   p r e d e f i n e d   a c c e s s   t e m p l a t e s : 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e   - P r e d e f i n e d   $ t r u e 
 
 	 
 
 2 )   G e t   a c c e s s   t e m p l a t e   l i n k s   f o r   ' A l l   O b j e c t s   -   F u l l   C o n t r o l '   a c c e s s   t e m p l a t e : 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k   - A c c e s s T e m p l a t e   ' A l l   O b j e c t s   -   F u l l   C o n t r o l ' 
 
 	 
 
 3 )   G e t   e n a b l e d   a c c e s s   t e m p l a t e   l i n k s   s y n c h r o n i z e d   t o   A D : 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k   - E n a b l e d   - S y n c h r o n i z e d T o A D   $ t r u e 
 
 	 
 
 4 )   G e t   a c c e s s   t e m p l a t e   l i n k s   f o r   s p e c i f i e d   s e c u r a b l e   o b j e c t : 
 
 
 
 	 G e t - Q A D A c c e s s T e m p l a t e L i n k   - D i r e c t o r y O b j e c t   ' C N = A c t i v e   D i r e c t o r y ' 
 
 	 
 
 5 )   G e t - Q A D A c c e s s T e m p l a t e L i n k   f o r   s p e c i f i e d   t r u s t e e : 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k   - T r u s t e e   ' E v e r y o n e ' 
 
 	 
 
 6 )   C r e a t e   n e w   a c c e s s   t e m p l a t e   l i n k : 
 
 
 
 	 N e w - Q A R S A c c e s s T e m p l a t e L i n k   n e w A T L i n k   - D i r e c t o r y O b j e c t   ' d o m a i n . d n s / '   - T r u s t e e   ' J o h n   D o e '   - A c c e s s T e m p l a t e   ' A l l   O b j e c t s   -   F u l l   C o n t r o l ' 
 
 	 
 
 7 )   R e m o v e   a c c e e s s   t e m p l a t e   l i n k : 
 
 
 
 	 R e m o v e - Q A R S A c c e s s T e m p l a t e L i n k   n e w A T L i n k 
 
 	 
 
 8 )   G e t   a l l   n o t   p r e d e f i n e d   a c c e s s   t e m p l a t e   l i n k s   f o r   ' C N = A c t i v e   D i r e c t o r y '   a n d   c h a n g e   s e c u r a b l e   o b j e c t   t o   ' d o m a i n . d n s / ' : 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k   - P r e d e f i n e d   $ f a l s e   - D i r e c t o r y O b j e c t   ' C N = A c t i v e   D i r e c t o r y '   |   S e t - Q A R S A c c e s s T e m p l a t e L i n k   - D i r e c t o r y O b j e c t   ' d o m a i n . d n s / ' 
 
 	 
 
 9 )   G i v e n   t h e   n a m e   o f   a n   A c c e s s   T e m p l a t e ,   l i s t   a l l   o b j e c t s   o n   w h i c h   t h e   A c c e s s   T e m p l a t e   d e t e r m i n e s   s e c u r i t y   s e t t i n g s   
 
   ( f o r   e a c h   l i n k   t h a t   i s   b a s e d   o n   t h a t   A c c e s s   T e m p l a t e ,   l i s t   t h e   s e c u r a b l e   o b j e c t   t o   w h i c h   t h e   l i n k   i s   a p p l i e d ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e   i d e n t i t y    |   f t   D i r e c t o r y O b j e c t 
 
 	 
 
 1 0 )   G i v e n   t h e   n a m e   o f   a n   A c c e s s   T e m p l a t e ,   l i s t   a l l   o b j e c t s   t h a t   h a v e   t h e i r   a c c e s s   r i g h t s   d e f i n e d   b y   u s i n g   t h e   g i v e n   
 
       A c c e s s   T e m p l a t e   ( f o r   e a c h   l i n k   t h a t   i s   b a s e d   o n   t h a t   A c c e s s   T e m p l a t e ,   l i s t   t h e   s e c u r i t y   p r i n c i p a l   t o   w h i c h   t h e   l i n k   p o i n t s ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e   i d e n t i t y    |   f t   T r u s t e e 
 
 	 
 
 1 1 )   G i v e n   t h e   n a m e   o f   a n   A c c e s s   T e m p l a t e   a n d   t h e   n a m e   o f   a n   o r g a n i z a t i o n a l   u n i t   ( O U ) ,   r e m o v e   a l l   s e c u r i t y   s e t t i n g s   
 
     o n   t h a t   O U   t h a t   a r e   d e t e r m i n e d   b y   t h a t   A c c e s s   T e m p l a t e   ( r e m o v e   a l l   l i n k s   t h a t   a r e   b a s e d   o n   t h e   g i v e n   A c c e s s   T e m p l a t e   
 
     a n d   a p p l i e d   t o   t h e   g i v e n   O U ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e   i d e n t i t y     D i r e c t o r y O b j e c t    d o m a i n . c o m / O U     P r e d e f i n e d   $ f a l s e   |   R e m o v e - Q A R S A c c e s s T e m p l a t e L i n k   - C o n f i r m 
 
 	 
 
 1 2 )   G i v e n   t h e   n a m e   o f   a n   A c c e s s   T e m p l a t e   a n d   t h e   p r e - W i n d o w s   2 0 0 0   n a m e   o f   a   g r o u p ,   r e v o k e   a l l   a c c e s s   r i g h t s   f r o m   
 
     t h a t   g r o u p   t h a t   a r e   d e f i n e d   b y   u s i n g   t h a t   A c c e s s   T e m p l a t e   ( r e m o v e   a l l   l i n k s   t h a t   a r e   b a s e d   o n   t h e   g i v e n   
 
     A c c e s s   T e m p l a t e   a n d   p o i n t   t o   t h e   g i v e n   g r o u p ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e   i d e n t i t y     T r u s t e e    d o m a i n \ g r o u p     P r e d e f i n e d   $ f a l s e   |   R e m o v e - Q A R S A c c e s s T e m p l a t e L i n k   - C o n f i r m 
 
 	 
 
 1 3 )   G i v e n   t h e   n a m e   o f   a n   A c c e s s   T e m p l a t e ,   e n s u r e   t h a t   t h e   A c c e s s   T e m p l a t e   i s   n o   l o n g e r   a p p l i e d   t o   a n y   o b j e c t   
 
     ( d e l e t e   a l l   l i n k s   t h a t   a r e   b a s e d   o n   t h a t   A c c e s s   T e m p l a t e ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e   i d e n t i t y    - P r e d e f i n e d   $ f a l s e   |   R e m o v e - Q A R S A c c e s s T e m p l a t e L i n k   - C o n f i r m 
 
 	 
 
 1 4 )   G i v e n   t h e   p r e - W i n d o w s   2 0 0 0   n a m e   o f   a   g r o u p ,   l i s t   a l l   t h e   A c c e s s   T e m p l a t e s   t h a t   d e t e r m i n e   a c c e s s   r i g h t s   
 
     o f   t h a t   g r o u p   ( f i n d   a l l   A c c e s s   T e m p l a t e   l i n k s   t h a t   h a v e   t h e   g i v e n   g r o u p   s e t   a s   t h e   s e c u r i t y   p r i n c i p a l ,   
 
     a n d   t h e n ,   f o r   e v e r y   s u c h   l i n k ,   l i s t   t h e   A c c e s s   T e m p l a t e   o n   w h i c h   t h e   l i n k   i s   b a s e d   a n d   t h e   s e c u r a b l e   o b j e c t   
 
     t o   w h i c h   t h e   l i n k   i s   a p p l i e d ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    T r u s t e e    d o m a i n \ g r o u p    |   f t   D i r e c t o r y O b j e c t ,   A c c e s s T e m p l a t e 
 
 	 
 
 1 5 )   G i v e n   t h e   n a m e   o f   a n   A c t i v e R o l e s   S e r v e r   M a n a g e d   U n i t   ( M U ) ,   l i s t   a l l   t h e   A c c e s s   T e m p l a t e s   t h a t   d e t e r m i n e   s e c u r i t y   
 
     s e t t i n g s   o n   t h a t   M U   ( f i n d   a l l   A c c e s s   T e m p l a t e   l i n k s   t h a t   h a v e   t h e   g i v e n   M U   s e t   a s   t h e   s e c u r a b l e   o b j e c t ,   a n d   t h e n ,   
 
     f o r   e v e r y   s u c h   l i n k ,   l i s t   t h e   A c c e s s   T e m p l a t e   o n   w h i c h   t h e   l i n k   i s   b a s e d   a n d   t h e   s e c u r i t y   p r i n c i p a l   t o   w h i c h   t h e   
 
     l i n k   p o i n t s ) . 
 
 
 
 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k    D i r e c t o r y O b j e c t    C o n f i g u r a t i o n / M a n a g e d   U n i t s / M y U n i t    |   f t   T r u s t e e ,   A c c e s s T e m p l a t e 
 
 	 
 
 1 6 )   F o r   a   g i v e n   o r g a n i z a t i o n a l   u n i t   ( O U ) ,   l i s t   t h e   o b j e c t s   t h a t   a r e   h e l d   i n   t h a t   O U   a n d   h a v e   n a t i v e   A c t i v e   D i r e c t o r y   
 
       p e r m i s s i o n   s e t t i n g s   d e f i n e d   b y   u s i n g   a n y   A c c e s s   T e m p l a t e   ( f i n d   a l l   t h e   A c c e s s   T e m p l a t e s   l i n k e d   t o   a n y   o b j e c t   i n   
 
       t h e   O U   w i t h   t h e   o p t i o n   t o   s y n c h r o n i z e   t h e   r e s u l t i n g   p e r m i s s i o n   s e t t i n g s   t o   A c t i v e   D i r e c t o r y ) . 
 
 
 
 	 G e t - Q A D O b j e c t    s l   0    o u    C N = A c t i v e   D i r e c t o r y    |   % { G e t - Q A R S A c c e s s T e m p l a t e L i n k    D i r e c t o r y O b j e c t   $ _    S y n c h r o n i z e d T o A D   $ t r u e }   |   f t   A c c e s s T e m p l a t e 
 
 	 
 
 1 7 )   F o r   a   g i v e n   o r g a n i z a t i o n a l   u n i t   ( O U )   a n d   a   g i v e n   A c c e s s   T e m p l a t e ,   e n s u r e   t h a t   t h e   p e r m i s s i o n   s e t t i n g s   
 
       d e f i n e d   b y   t h e   A c c e s s   T e m p l a t e   o n   a n y   o b j e c t   h e l d   i n   t h e   O U   a r e   n o t   s y n c h r o n i z e d   t o   A c t i v e   D i r e c t o r y   
 
       ( d i s a b l e   t h e   p e r m i s s i o n   s y n c h r o n i z a t i o n   o p t i o n   f o r   e a c h   l i n k   t h a t   i s   b a s e d   o n   t h a t   A c c e s s   T e m p l a t e   a n d   
 
       a p p l i e d   t o   a n y   o b j e c t   h e l d   i n   t h a t   O U ) . 
 
 
 
 	 G e t - Q A D O b j e c t    s l   0    o u    C N = A c t i v e   D i r e c t o r y    |   % { G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e I d e n t i t y     D i r e c t o r y O b j e c t   $ _   - S y n c h r o n i z e d T o A D   $ t r u e    P r e d e f i n e d   $ f a l s e }   |   S e t - Q A R S A c c e s s T e m p l a t e L i n k    S y n c h r o n i z e d T o A D   $ f a l s e   
 
 	 
 
 1 8 )   F o r   a   g i v e n   o r g a n i z a t i o n a l   u n i t   ( O U )   a n d   a   g i v e n   A c c e s s   T e m p l a t e   a p p l i e d   o n   t h a t   O U ,   e n s u r e   t h a t   t h e   p e r m i s s i o n   s e t t i n g s   d e f i n e d   b y   t h e   A c c e s s   T e m p l a t e   o n   a n y   o b j e c t   h e l d   i n   t h e   O U   a r e   s y n c h r o n i z e d   t o   A c t i v e   D i r e c t o r y   ( o n   t h e   r e s p e c t i v e   A c c e s s   T e m p l a t e   l i n k ,   e n a b l e   t h e   o p t i o n s   t o   s y n c h r o n i z e   p e r m i s s i o n   s e t t i n g s   t o   A D   a n d   t o   a p p l y   t h e m   o n   b o t h   t h e   O U   a n d   a l l   c h i l d   o b j e c t s ) . 
 
 
 
 	 G e t - Q A D O b j e c t    s l   0    o u    d o m a i n . c o m / O U    |   % { G e t - Q A R S A c c e s s T e m p l a t e L i n k    A c c e s s T e m p l a t e    T e m p l a t e I d e n t i t y     D i r e c t o r y O b j e c t   $ _   - S y n c h r o n i z e d T o A D   $ f a l s e    P r e d e f i n e d   $ f a l s e }   |   S e t - Q A R S A c c e s s T e m p l a t e L i n k    S y n c h r o n i z e d T o A D   $ t r u e 
 
 	 
 
 
 
 1 . 4 . 1 .   G e t - Q A R S A c c e s s T e m p l a t e   c m d l e t 
 
 
 
 1 . 4 . 1 . 1 .   S y n t a x :   G e t - Q A R S A c c e s s T e m p l a t e   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   [ - D e s c r i p t i o n   < s t r i n g > ] [ - P r e d e f i n e d   < b o o l > ] 
 
 	 	 	 	 	 	 	 	 	 	 [ - O b j e c t A t t r i b u t e s   < o b j e c t > ] [ - L d a p F i l t e r   < s t r i n g > ] [ - S e a r c h R o o t   < I d e n t i t y P a r a m e t e r > ] 
 
 	 	 	 	 	 	 	 	 	 	 [ - S e a r c h S c o p e   < S e a r c h S c o p e > ] [ - P a g e S i z e   < i n t > ] [ - S i z e L i m i t < i n t > ] 
 
 	 	 	 	 	 	 	 	 	 	 [ C o n n e c t i o n   p a r a m e t e r s ] 
 
 
 
 1 . 4 . 1 . 2 .   I n p u t   o b j e c t s :   I d e n t i t y P a r a m e t e r   ( i d e n t i t y   o f   a c c e s s   t e m p l a t e   o b j e c t ) 
 
 
 
 1 . 4 . 1 . 3 .   O u t p u t   o b j e c t s :   A r s A c c e s s T e m p l a t e O b j e c t 
 
 
 
 1 . 4 . 1 . 4 .   P a r a m e t e r s : 
 
 	 - 	 I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   I d e n t i t y   o f   a c c e s s   t e m p l a t e   o b j e c t . 
 
 	 - 	 D e s c r i p t i o n   ( o p t i o n a l ) .   S e a r c h   a c c e s s   t e m p l a t e s   b y   d e s c r i p t i o n . 
 
 	 - 	 P r e d e f i n e d   ( o p t i o n a l ) .   
 
 	 - 	 O b j e c t A t t r i b u t e s   ( o p t i o n a l ) . 
 
 	 - 	 L d a p F i l t e r   ( o p t i o n a l ) . 
 
 	 - 	 S e a r c h R o o t   ( o p t i o n a l ) . 
 
 	 - 	 S e a r c h S c o p e   ( o p t i o n a l ) . 
 
 	 - 	 P a g e S i z e   ( o p t i o n a l ) . 
 
 	 - 	 S i z e L i m i t   ( o p t i o n a l ) . 
 
 	 - 	 C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 	 
 
 
 
 
 
 1 . 4 . 2 .   G e t - Q A R S A c c e s s T e m p l a t e L i n k   c m d l e t 
 
 
 
 1 . 4 . 2 . 1 .   S y n t a x : 
 
 	 	 	 G e t - Q A R S A c c e s s T e m p l a t e L i n k   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   [ - D i r e c t o r y O b j e c t   < I d e n t i t y P a r a m e t e r [ ] > ] 
 
 	 	 	 	 	 	 	 [ - T r u s t e e   < I d e n t i t y P a r a m e t e r [ ] > ] [ - A c c e s s T e m p l a t e   < I d e n t i t y P a r a m e t e r [ ] > ] [ - E n a b l e d ] 
 
 	 	 	 	 	 	 	 [ - D i s a b l e d ] [ - P r e d e f i n e d   < b o o l > ] [ - A p p l i e d T o   < A T L i n k F l a g s > ] [ - S y n c h r o n i z e d T o A D   < b o o l > ] 
 
 	 	 	 	 	 	 	 [ - D e s c r i p t i o n   < s t r i n g > ] [ - O b j e c t A t t r i b u t e s   < o b j e c t > ] [ - L d a p F i l t e r   < s t r i n g > ] 	 	 	 	 	 	 	 
 
 	 	 	 	 	 	 	 [ - P a g e S i z e   < i n t > ] [ - S i z e L i m i t   < i n t > ] [ C o n n e c t i o n   p a r a m e t e r s ] 	 	 	 	 	 	 	 
 
 
 
 1 . 4 . 2 . 2 .   I n p u t   o b j e c t s :   I d e n t i t y P a r a m e t e r   ( i d e n t i t y   o f   a c c e s s   t e m p l a t e   l i n k ) . 
 
 
 
 1 . 4 . 2 . 3 .   O u t p u t   o b j e c t s :   A r s A c c e s s T e m p l a t e L i n k O b j e c t 
 
 
 
 1 . 4 . 2 . 4 .   P a r a m e t e r s : 
 
 	 - 	 I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) 
 
 	 - 	 D i r e c t o r y O b j e c t   ( o p t i o n a l ) .   S e a r c h   f o r   A T   l i n k s   w i t h   s p e c i f i e d   s e c u r a b l e   o b j e c t s . 
 
 	 - 	 T r u s t e e   ( o p t i o n a l ) .   S e a r c h   f o r   A T   l i n k s   w i t h   s p e c i f i e d   t r u s t e e s . 
 
 	 - 	 A c c e s s T e m p l a t e   ( o p t i o n a l ) .   S e a r c h   f o r   A T   l i n k s   w i t h   s p e c i f i e d   a c c e s s   t e m p l a t e s . 
 
 	 - 	 E n a b l e d   ( o p t i o n a l ) . 
 
 	 - 	 D i s a b l e d   ( o p t i o n a l ) . 
 
 	 - 	 P r e d e f i n e d   ( o p t i o n a l ) . 
 
 	 - 	 A p p l i e d T o   ( o p t i o n a l ) .   P o s s i b l e   v a l u e s : 
 
 	 	 	 T h i s , 
 
 	 	 	 T h i s O b j e c t A n d A l l C h i l d O b j e c t s , 
 
 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s , 
 
 	 	 	 A l l C h i l d O b j e c t s , 
 
 	 	 	 I m m e d i a t e C h i l d O b j e c t s 
 
 	 - 	 S y n c h r o n i z e d T o A D   ( o p t i o n a l ) . 
 
 	 - 	 D e s c r i p t i o n   ( o p t i o n a l ) . 
 
 	 - 	 O b j e c t A t t r i b u t e s   ( o p t i o n a l ) . 
 
 	 - 	 L d a p F i l t e r   ( o p t i o n a l ) . 
 
 	 - 	 P a g e S i z e   ( o p t i o n a l ) . 
 
 	 - 	 S i z e L i m i t   ( o p t i o n a l ) . 
 
 	 - 	 C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 
 
 
 
 1 . 4 . 3 .   S e t - Q A R S A c c e s s T e m p l a t e L i n k   c m d l e t 
 
 
 
 1 . 4 . 3 . 1 .   S y n t a x : 
 
 	 	 S e t - Q A R S A c c e s s T e m p l a t e L i n k   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   
 
 	 	 	 	 	 [ - T r u s t e e   < I d e n t i t y P a r a m e t e r > ] [ - A c c e s s T e m p l a t e   < I d e n t i t y P a r a m e t e r > ] [ - E n a b l e d ] [ - D i s a b l e d ] 
 
 	 	 	 	 	 [ - A p p l i e d T o   < A T L i n k F l a g s > ] [ - S y n c h r o n i z e d T o A D   < b o o l > ] [ - O b j e c t A t t r i b u t e s   < o b j e c t > ] 	 	 	 	 	 
 
 	 	 	 	 	 [ C o n n e c t i o n   p a r a m e t e r s ] [ - W h a t I f ] [ - C o n f i r m ] 
 
 
 
 1 . 4 . 3 . 2 .   I n p u t   o b j e c t s :   A r s A T L i n k O b j e c t   ( t a r g e t   a c c e s s   t e m p l a t e   l i n k ) 
 
 
 
 1 . 4 . 3 . 3 .   O u t p u t   o b j e c t s :   A r s A T L i n k O b j e c t 
 
 
 
 1 . 4 . 3 . 4 .   P a r a m e t e r s : 
 
 	 - 	 I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) 	 
 
 	 - 	 T r u s t e e   ( o p t i o n a l ) . 
 
 	 - 	 A c c e s s T e m p l a t e   ( o p t i o n a l ) . 
 
 	 - 	 E n a b l e d   ( o p t i o n a l ) . 
 
 	 - 	 D i s a b l e d   ( o p t i o n a l ) . 
 
 	 - 	 A p p l i e d T o   ( o p t i o n a l ) .   
 
 	 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 	 T h i s , 
 
 	 	 	 	 T h i s O b j e c t A n d A l l C h i l d O b j e c t s , 
 
 	 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s , 
 
 	 	 	 	 A l l C h i l d O b j e c t s , 
 
 	 	 	 	 I m m e d i a t e C h i l d O b j e c t s 
 
 	 - 	 S y n c h r o n i z e d T o A D   ( o p t i o n a l ) . 
 
 	 - 	 O b j e c t A t t r i b u t e s   ( o p t i o n a l ) . 
 
 	 - 	 C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 	 - 	 W h a t I f   ( o p t i o n a l ) . 
 
 	 - 	 C o n f i r m   ( o p t i o n a l ) . 
 
 
 
 
 
 1 . 4 . 4 .   N e w - Q A R S A c c e s s T e m p l a t e L i n k   c m d l e t 
 
 
 
 1 . 4 . 4 . 1 .   S y n t a x 
 
 	 	 N e w - Q A R S A c c e s s T e m p l a t e L i n k   [ [ - N a m e ]   < s t r i n g > ]   - A c c e s s T e m p l a t e   < I d e n t i t y P a r a m e t e r > 
 
 	 	 	 	 - T r u s t e e   < I d e n t i t y P a r a m e t e r >   - D i r e c t o r y O b j e c t   < I d e n t i t y P a r a m e t e r > 
 
 	 	 	 	 [ - D e s c r i p t i o n   < s t r i n g > ] [ - A p p l i e d T o   < A T L i n k F l a g s > ] [ - S y n c h r o n i z e d T o A D   < b o o l > ] 
 
 	 	 	 	 [ - D i s a b l e d ] [ - O b j e c t A t t r i b u t e s   < o b j e c t > ] [ C o n n e c t i o n   p a r a m e t e r s ] [ W h a t I f ] [ C o n f i r m ] 
 
 
 
 1 . 4 . 4 . 2 .   I n p u t   o b j e c t s :   s t r i n g   ( n a m e   o f   n e w   a c c e s s   t e m p l a t e   l i n k ) 
 
 
 
 1 . 4 . 4 . 3 .   O u t p u t   o b j e c t s :   A r s A T L i n k O b j e c t   ( c r e a t e d   a c c e s s   t e m p l a t e   l i n k ) 
 
 
 
 1 . 4 . 4 . 4 .   P a r a m e t e r s : 
 
 	 - 	 N a m e   ( o p t i o n a l ,   v a l u e   f r o m   p i p e l i n e ) .   I f   s k i p p e d   -   n a m e   g e n e r a t e d   a u t o m a t i c a l l y . 
 
 	 - 	 A c c e s s T e m p l a t e   ( m a n d a t o r y ) . 
 
 	 - 	 T r u s t e e   ( m a n d a t o r y ) . 
 
 	 - 	 D i r e c t o r y O b j e c t   ( m a n d a t o r y ) . 
 
 	 - 	 D e s c r i p t i o n   ( o p t i o n a l ) . 
 
 	 - 	 A p p l i e d T o   ( o p t i o n a l ) .   D e f a u l t :     T h i s O b j e c t A n d A l l C h i l d O b j e c t s . 
 
 	 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 	 T h i s , 
 
 	 	 	 	 T h i s O b j e c t A n d A l l C h i l d O b j e c t s , 
 
 	 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s , 
 
 	 	 	 	 A l l C h i l d O b j e c t s , 
 
 	 	 	 	 I m m e d i a t e C h i l d O b j e c t s 
 
 	 - 	 S y n c h r o n i z e d T o A D   ( o p t i o n a l ) .   D e f a u l t :   f a l s e . 
 
 	 - 	 D i s a b l e d   ( o p t i o n a l ) .   E n a b l e d   b y   d e f a u l t . 
 
 	 - 	 O b j e c t A t t r i b u t e s   ( o p t i o n a l ) . 
 
 	 - 	 C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 	 - 	 W h a t I f   ( o p t i o n a l ) . 
 
 	 - 	 C o n f i r m   ( o p t i o n a l ) . 
 
 
 
 1 . 4 . 5 .   R e m o v e - Q A R S A c c e s s T e m p l a t e L i n k   c m d l e t 
 
 
 
 1 . 4 . 5 . 1 .   S y n t a x .   
 
 	 	 R e m o v e - Q A R S A c c e s s T e m p l a t e L i n k   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   [ C o n n e c t i o n   p a r a m e t e r s ] [ - W h a t I f ] [ - C o n f i r m ] 
 
 
 
 1 . 4 . 5 . 2 .   I n p u t   o b j e c t s :   A r s A T L i n k O b j e c t   ( a c c e s s   t e m p l a t e   l i n k   t o   r e m o v e ) 
 
 
 
 1 . 4 . 5 . 3 .   O u t p u t   o b j e c t s :   n o n e 
 
 
 
 1 . 4 . 5 . 4 .   P a r a m e t e r s : 
 
 	 - 	 I d e n t i t y   ( m a n d a t o r y ,   i n p u t   f r o m   p i p e l i n e ) .   A c c e s s   t e m p l a t e   l i n k   t o   r e m o v e . 
 
 	 - 	 C o n n e c t i o n   p a r a m e t e r s   ( o p t i o n a l ) . 
 
 	 - 	 W h a t I f   ( o p t i o n a l ) . 
 
 	 - 	 C o n f i r m   ( o p t i o n a l ) . 
 
 
 
 
 
 1 . 4 . 6 .   A r s A c c e s s T e m p l a t e O b j e c t   o b j e c t   t y p e 
 
 
 
 1 . 4 . 6 . 1 .   S u p e r c l a s s :   A r s D i r e c t o r y O b j e c t 
 
 
 
 1 . 4 . 6 . 2 .   P r o p e r t i e s :   n o   p r o p e r t i e s   c u r r e n t l y   d e f i n e d . 
 
 
 
 1 . 4 . 7 .   A r s A T L i n k O b j e c t   o b j e c t   t y p e 
 
 
 
 1 . 4 . 7 . 1 .   S u p e r c l a s s :   A r s D i r e c t o r y O b j e c t 
 
 
 
 1 . 4 . 7 . 2 .   P r o p e r t i e s : 
 
 	 -   P r e d e f i n e d   ( b o o l ) .   
 
 	 -   D i s a b l e d   ( b o o l ) . 
 
 	 -   S y n c h r o n i z e d T o A D   ( b o o l ) . 
 
 	 -   A p p l i e d T o   ( e n u m e r a t i o n ) . 
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 T h i s , 
 
 	 	 	 T h i s O b j e c t A n d A l l C h i l d O b j e c t s , 
 
 	 	 	 T h i s O b j e c t A n d I m m e d i a t e C h i l d O b j e c t s , 
 
 	 	 	 A l l C h i l d O b j e c t s , 
 
 	 	 	 I m m e d i a t e C h i l d O b j e c t s 
 
 	 -   A c c e s s T e m p l a t e   ( A r s A c c e s s T e m p l a t e O b j e c t ) . 
 
 	 -   D i r e c t o r y O b j e c t   ( A r s D i r e c t o r y O b j e c t ) .   S e c u r a b l e   d i r e c t o r y   o b j e c t . 
 
 	 -   T r u s t e e   ( A r s S e c u r i t y P r i n c i p a l O b j e c t ) . 
 
 	 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 	 
 
 	 
 
 1 . 5 .   N e w   c m d l e t   G e t - Q A D R o o t D S E 
 
 
 
 E x a m p l e s : 
 
 
 
 1 )   G e t - Q A D R o o t D S E   |   f l   D e f a u l t N a m i n g C o n t e x t , S c h e m a D N , E x t e n d e d R i g h t s D N 
 
 
 
 1 . 5 . 1 .   S y n t a x :   G e t - Q A D R o o t D S E   [ C o n n e c t i o n   p a r a m e t e r s ] 	 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 1 . 6 .   D i s a m b i g u a t i o n   p r e f i x e s   i n   I d e n t i t y P a r a m e t e r 
 
 
 
 A l l   I d e n t i t y      l i k e   p a r a m s   ( S e a r c h R o o t ,   P a r e n t C o n t a i n e r ,   M e m b e r )   n o w   s u p p o r t   a d d i t i o n a l   f e a t u r e :   
 
 o p t i o n a l   d i s a m b i g u a t i o n   p r e f i x .   T h i s   h e l p s   i n   c o m p l e x   c a s e s   w h e n   t h e   s t r i n g   c o n t a i n s   s l a s h e s ,   
 
 e q u a l s   s i g n s ,   a t   s i g n s ,   e t c .   a n d   c a n   b e   a   D N   o r   U P N   o r   c a n o n i c a l   n a m e   o r   e v e n   a c c o u n t   n a m e . 
 
 
 
 E x a m p l e : 
 
 
 
 G e t - q a d U s e r   ' u p n = u s e r _ w i t h = s i g n @ d o m a i n ' 
 
 
 
 G e t - q a d U s e r   ' d n = c n = o b j e c t _ w i t h @ s i g n ' 
 
 
 
 G e t - q a d U s e r   ' a c c o u n t = d o m a i n \ s a m A c c o u n t N a m e _ w i t h @ s i g n ' 
 
 
 
   
 
 p o s s i b l e   v a l u e s   ( c a s e - i n s e n s i t i v e ) : 
 
 
 
 u p n = 
 
 
 
 d n = 
 
 
 
 s i d = 
 
 
 
 g u i d = 
 
 
 
 a c c o u n t =   ( f o r   d o m a i n \ a c c o u n t ) 
 
 
 
 c a n o n i c a l =   ( f o r   c a n o n i c a l   n a m e ) 
 
 
 
 a n r =   ( f o r   A N R   q u e r y ) 
 
 
 
 I f   d i s a m b i g u a t i o n   p r e f i x   i s   u s e d ,   n a m e   l o o k u p   w i l l   u s e   t h e   s p e c i f i e d   n a m e   t y p e   a n d   w o n ' t   t r y   t o   u s e   o t h e r   t y p e s . 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 2 .   F i x e d   b u g s 
 
 
 
 2 . 1 .   C a n ' t   c o n n e c t   t o   s p e c i f i c   D C   [ 3 5 6 1 5 ] 
 
 
 
 2 . 2 .   " D o m a i n   e i t h e r   d o e s   n o t   e x i s t   o r   c o u l d   n o t   b e   c o n t a c t e d "   e x c e p t i o n   r a i s e d   i n   s o m e   e n v i r o n m e n t s   [ 3 5 6 4 2 ] 
 
 
 
 2 . 3 .     ' G e t - Q A D O b j e c t   - t y p e   u s e r '   r e t u r n s   a l s o   c o m p u t e r   a c c o u n t s   [ 3 5 9 7 5 ] 
 
 
 
 2 . 4 .   N e w - Q A D P a s s w o r d S e t t i n g O b j e c t   s h o w s   i n c o r r e c t   e r r o r   m e s s a g e   w h e n   n o   - P a r e n t C o n t a i n e r   s p e c i f i e d 
 
   i n   p r o x y   m o d e   [ 3 8 1 4 1 ] 
 
   
 
 2 . 5 .   E r r o r   r a i s e d   i n   R e m o v e - Q A D G r o u p M e m b e r   w h e n   t r y i n g   t o   r e m o v e   o b j e c t   t h a t   i s   n o t   m e m b e r   o f   t h e   g r o u p   [ 3 9 1 4 2 ] 
 
 
 
 2 . 6 .   N e w - Q A D O b j e c t :   - N a m e   m u s t   b e   a   p o s i t i o n a l   p a r a m e t e r   [ 3 9 1 6 2 ] 
 
 
 
 2 . 7 .   N e w - Q A D O b j e c t   :   " A c c e s s   i s   d e n i e d "   e r r o r   r a i s e d   i f   c r e a t e   A R S   o b j e c t   i n   C o n f i g u r a t i o n   n o d e   u s i n g   c a n o n i c a l N a m e   o f   p a r e n t   c o n t a i n e r   [ 3 9 8 0 2 ] 
 
 
 
 2 . 8 .   G e t - Q A D G r o u p M e m b e r   s o m e t i m e s   r e t u r n   i n c o r r e c t   e r r o r   " I n v a l i d   t y p e   o f   i d e n t i t y . "   [ 3 9 2 2 3 ] 
 
 
 
 2 . 9 .   ' M S K 0 1 4 4 ' ,   ' M S K 0 2 3 8 '   |   G e t - Q A D C o m p u t e r   - >   e r r o r   r a i s e d     [ 3 9 4 4 6 ] 
 
 
 
 2 . 1 0 .   G e t - Q A D G r o u p   ' g r o u p '   |   G e t - Q A D G r o u p M e m b e r   d o e s n ' t   w o r k     [ 3 5 7 0 5 ] 
 
 
 
 2 . 1 1 .   " C o n n e c t - Q A D S e r v i c e   :   S e r v i c e   n o t   a v a i l a b l e "   w h e n   u s i n g   - U s e G l o b a l C a t a l o g   [ 3 5 8 2 5 ] 
 
 
 
 2 . 1 2 .   A n y   a t t e m p t   t o   a c c e s s   a   p r o p e r t y   t h a t   w a s   ' n o t   s e t '   i n   A D   f a i l s   w h e n   u s i n g   t h e   o u t p u t   o f   g e t - *   c m d l e t s .   [ 3 8 3 8 6 ] 
 
 
 
 2 . 1 3 .   G e t - Q A D O b j e c t   d o e s n ' t   w o r k   w i t h   ' C N = C o n f i g u r a t i o n '   w h e n   c o n n e c t e d   v i a   A R S   [ 4 9 5 8 ] 
 
 
 
 2 . 1 4 .   I n c o r r e c t   e r r o r   m e s s a g e   o n   " g e t - *   - s v c   - p x "     w i t h   i n c o r r e c t   c r e d e n t i o n a l s   [ 1 7 8 8 2 ] 
 
 
 
 2 . 1 5 .   " G e t - *   - s v c   |   R e m o v e - * "   p i p i n g   r a i s e   a n   e r r o r   o f   D N   r e s o l v i n g   [ 1 7 8 8 8 ] 
 
 
 
 2 . 1 6 .   G e t - Q A D G r o u p M e m b e r   :   I n v a l i d   t y p e   o f   i d e n t i t y   [ 1 8 1 8 1 ] 
 
 
 
 2 . 1 7 .   N e w - Q A D P a s s w o r d S e t t i n g s O b j e c t :   - N a m e   m u s t   b e   p o s i t i o n a l   p a r a m e t e r   [ 1 8 2 0 7 ] 
 
 
 
 2 . 1 8 .   C a n ' t   v i e w   v a l u e s   o f   b o o l e a n   a t t r i b u t e s   [ 1 8 2 6 4 ] 
 
 
 
 2 . 1 9 .   I n c o r r e c t   e r r o r   m e s s a g e   w h e n   n o t   u s i n g   - p r o x y   i n   s e c o n d   p a r t   o f   p i p e l i n e   [ 1 9 3 7 1 ] 
 
 
 
 2 . 2 0 .   G e t - Q A D O b j e c t   :   U n k n o w n   e r r o r   ( 0 x 8 0 0 4 1 4 5 5 )   i f   u s e d   - p r o x y   p a r a m   b u t   n o   A R S   f o u n d   [ 2 6 5 4 6 ] 
 
 
 
 2 . 2 1 .   C o n n e c t - Q A D S e r v i c e   d o e s n ' t   r a i s e   a n   e r r o r   w h e n   t r y i n g   t o   c o n n e c t   t o   n o n - e x i s t e n t   A R S   s e r v i c e   [ 2 6 5 5 7 ] 
 
 
 
 2 . 2 2 .   G e t - Q A D G r o u p   :   I n v a l i d   t y p e   o f   i d e n t i t y .   T y p e   o f   s p e c i f i e d   i d e n t i t y :   p u b l i c F o l d e r .   T h i s   c m d l e t   a l l o w s   o n l y :   g r o u p .   [ 2 6 5 6 6 ] 
 
 
 
 2 . 2 3 .   ' G e t - Q A D U s e r   r e '   r a i s e s   a n   e r r o r   -   p s   r e a d s   ' r e '   a s   S I D   o f   ' B u i l t i n \ R e p l i c a t o r '   [ 2 7 9 1 3 ] 
 
 
 
 
 
 v e r s i o n   1 . 0 
 
   
 
 B u i l d s   H i s t o r y 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 B u i l d   1 . 0 . 6 . 5 6 6 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   I n   s o m e   c a s e s   C o n n e c t - Q A D S e r v i c e   d o e s n ' t   r a i s e   e r r o r   w h e n   s e r v i c e   i s   n o t   a v a i l a b l e .   [ 2 6 5 6 7 ] 
 
 
 
 D e s c r i p t i o n :   
 
 	 I n   s o m e   c a s e s   c o n n e c t i o n   t o   n o n - e x i s t e n t   o r   n o n - a v a i l a b l e   s e r v i c e   h a d   b e e n   s u c c e d e e d . 
 
 	 N o w   e r r o r   m e s s a g e   a l w a y s   s h o w e d   w h e n   s e r v i c e   i s   n o t   a v a i l a b l e . 
 
 
 
 1 . 2 .   W r o n g   v a l i d a t i o n   f o r   s A M A c c o u n t N a m e   a t t r i b u t e   f o r   ' g r o u p '   o b j e c t s .   [ 2 6 5 8 4 ] 
 
 
 
 D e s c r i p t i o n :   
 
 	 T h e   a t t r i b u t e   v a l u e   w a s   l i m i t e d   t o   2 0   c h a r a c t e r s ,   w h i l e   i n   A D   i t ' s   o n l y   r e q u i r e d   r e s t r i c t i o n   f o r   ' u s e r '   o b j e c t s . 
 
 	 
 
 1 . 3 .   G e t - *   c m d l e t s   r e t u r n   n o t h i n g   w h e n   c o n n e c t i n g   d i r e c t l y   t o   A D A M .   [ 2 7 8 4 3 ] 
 
 
 
 D e s c r i p t i o n : 
 
 	 T h e r e   w a s   a   b u g   i n   s e a r c h   a l g o r i t h m ,   t h a t   c a u s e d   w r o n g   o u t p u t   w h e n   n o   c o n n e c t i o n 
 
 	 w a s   p r e v i o u s l y   e s t a b l i s h e d   w i t h   C o n n e c t - Q A D S e r v i c e . 
 
 	 
 
 E x a m p l e :   G e t - Q A D U s e r   *   - s e r v i c e   ' t e s t . a d a m . c o m : 5 0 0 0 0 ' 
 
 
 
 1 . 4 .   - E n a b l e d   a n d   - D i s a b l e d   f l a g s   o f   G e t - Q A D U s e r   c a u s e d   t o   r e t u r n   n o t h i n g   w h e n   c o n n e c t i n g   t o   A D A M .   [ 2 7 8 4 4 ] 
 
 
 
 D e s c r i p t i o n : 
 
 	 - E n a b l e d   a n d   - D i s a b l e d   f l a g s   d i d n ' t   w o r k   w i t h   A D A M   u s e r s .   N o w   t h i s   f l a g s   w o r k   w i t h   A D A M , 
 
 	 a s   w e l l ,   a s   w i t h   A D   a n d   A R S . 
 
 
 
 B u i l d   1 . 0 . 6 . 5 5 9 
 
 
 
 1 .   N e w   f e a t u r e s 
 
 
 
 1 . 1 .   N e w   c m d l e t   i n t r o d u c e d :   D e p r o v i s i o n - Q A D U s e r .   Y o u   n e e d   t h e   c o n n e c t i o n   t o   A c t i v e R o l e s   S e r v e r   A d m i n i s t r a t i o n   S e r v i c e , 
 
 	 s o   t h e   P r o x y   p a r a m e t e r   m u s t   b e   u s e d   t o   e s t a b l i s h   c o n n e c t i o n . 
 
 
 
 S y n t a x :   D e p r o v i s i o n - Q A D U s e r   [ - I d e n t i t y ]   < I d e n t i t y P a r a m e t e r >   [ - R e p o r t F i l e   < s t r i n g > ]   [ - X m l ]   [ C o n n e c t i o n P a r a m e t e r s ] 
 
 
 
 P a r a m e t e r s : 
 
 1 . 1 . 1 .   I d e n t i t y   ( m a n d a t o r y ,   s u p p o r t s   i n p u t   f r o m   p i p e l i n e ) .   T h i s   p a r a m e t e r s   s p e c i f y   t h e   i n p u t   o b j e c t   o f   c m d l e t .   
 
 	 I t   m u s t   c o n t a i n   t h e   t a r g e t   u s e r   i d e n t i t y   i n   o n e   o f   f o l l o w i n g   f o r m a t s :   D N ,   D o m a i n \ A c c o u n t ,   u s e r @ d o m a i n . d n s ,   
 
 	 G U I D   i n   s t r i n g   f o r m ,   S I D   i n   s t r i n g   f o r m .   T h e   n a m e   o f   p a r a m e t e r   m a y   b e   o m i t t e d   i n   c a s e   i i   i s   t h e   f i r s t   p a r a m e t e r 
 
 	 o n   c o m m a n d   s t r i n g . 
 
 	 
 
 1 . 1 . 2 .   R e p o r t F i l e   ( o p t i o n a l ) .   B y   d e f a u l t ,   d e p r o v i s i o n i n g   r e p o r t   n o t   w r i t e d .   I f   y o u   w a n t   d e p r o v i s i o n   r e p o r t   t o   b e   w r i t t e n , 
 
 	 	 s p e c i f y   t h e   f u l l   o r   r e l a t i v e   p a t h   t o   r e p o r t   f i l e   i n   t h i s   p a r a m e t e r .   
 
 	 	 
 
 1 . 1 . 3 .   X m l   ( o p t i o n a l ) .   B y   d e f a u l t ,   d e p r o v s i o n i n g   r e p o r t   i s   w r i t t e n   i n   H T M L   f o r m a t .   S p e c i f y i n g   t h i s   p a r a m e t e r   c a u s e s   t h e   r e p o r t 
 
 	 t o   b e   w r i t t e n   i n   r a w   X M L   f o r m a t .   T h i s   p a r a m e t e r   o n l y   v i a b l e   w h e n   - R e p o r t F i l e   p a r a m e t e r   s p e c i f y e d . 
 
 	 
 
 T h e   o u t p u t   o f   c m d l e t   i s   r e s u l t   d e p r o v i s i o n e d   u s e r   o b j e c t ,   i f   d e p r o v i s i o n   p r o c e s s   s u c c e e d e d . 
 
 	 
 
 E x a m p l e s : 
 
 1 )   D e p r o v i s i o n   o f   s i n g l e   u s e r 
 
 	 >   C o n n e c t - Q A D S e r v e i c e   - S e r v i c e   ' a r s . t e s t d c . c o m '   - P r o x y 	 
 
 	 >   D e p r o v i s i o n - Q A D U s e r   ' t e s t d o m a i n \ t e s t u s e r ' 	 
 
 	 
 
 2 )   D e p r o v i s i o n   o f   s i n g l e   u s e r   u s i n g   p i p i n g 
 
 	 >   C o n n e c t - Q A D S e r v e i c e   - S e r v i c e   ' a r s . t e s t d c . c o m '   - P r o x y 
 
 	 >   g e t - q a d u s e r   ' t e s t d o m a i n \ t e s t u s e r '   |   D e p r o v i s i o n - Q A D U s e r 
 
 	 
 
 3 )   D e p r o v i s i o n   s i n g l e   u s e r   a n d   w r i t e   d e p r o v i s i o n i n g   r e p o r t . 
 
 	 >   C o n n e c t - Q A D S e r v e i c e   - S e r v i c e   ' a r s . t e s t d c . c o m '   - P r o x y 
 
 	 >   g e t - q a d u s e r   ' t e s t d o m a i n \ t e s t u s e r '   |   D e p r o v i s i o n - Q A D U s e r   - R e p o r t F i l e   ' c : \ t e s t u s e r . h t m l ' 
 
 	 
 
 4 )   D e p r o v i s i o n   u s e r s   i n   b a t c h 
 
 	 >   C o n n e c t - Q A D S e r v e i c e   - S e r v i c e   ' a r s . t e s t d c . c o m '   - P r o x y 
 
 	 >   g e t - q a d u s e r   t e s t *   |   D e p r o v i s i o n - Q A D U s e r   
 
 	 
 
 5 )   D e p r o v i s i o n   u s e r s   i n   b a t c h   a n d   w r i t e   d e p r o v i s i o n i n g   r e p o r t 
 
 	 >   C o n n e c t - Q A D S e r v e i c e   - S e r v i c e   ' a r s . t e s t d c . c o m '   - P r o x y 
 
 	 >   g e t - q a d u s e r   t e s t *   |   D e p r o v i s i o n - Q A D U s e r   - R e p o r t F i l e   { ' c : \ D e p r o v i s i o n R e p o r t s \ '   +   $ _ . S a m A c c o u n t N a m e   +   ' . h t m l ' } 
 
 	 	 
 
 
 
 2 .   F i x e d   b u g s 
 
 
 
 2 . 1 .   C a n ' t   b i n d   t o   o b j e c t s   u n d e r   ' C N = C o n f i g u r a t i o n '   h i v e   i n   p r o x y   m o d e   ( 1 7 9 1 5 ) 
 
 E x a m p l e :   G e t - Q A D O b j e c t   ' C N = C o n f i g u r a t i o n ' 
 
 
 
 B u i l d   1 . 0 . 6 . 5 5 7 
 
 
 
 1 .   N e w   f e a t u r e s 
 
 
 
 1 . 1 .   G e t - Q A D U s e r   n e w   p a r a m e t e r   a d d e d :   - E n a b l e d   ( t o   s e a r c h   f o r   e n a b l e d   u s e r s ) 
 
 
 
 1 . 2 .   T e r m i n a l   s e r v i c e s   r e l a t e d   p r o p e r t i e s   a d d e d   t o   u s e r   o b j e c t   ( o u t p u t   o f   G e t - Q A D U s e r   c m d l e t ) 
 
 	 1 . 2 . 1 .   T s P r o f i l e P a t h   ( s t r i n g ) 
 
 	 1 . 2 . 2 .   T s H o m e D i r e c t o r y   ( s t r i n g ) 
 
 	 1 . 2 . 3 .   T s H o m e D r i v e   ( s t r i n g ) 
 
 	 1 . 2 . 4 .   T s A l l o w L o g o n   ( $ t r u e / $ f a l s e ) 
 
 	 1 . 2 . 5 .   T s R e m o t e C o n t r o l   ( i n t ) 
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 0   -   D i s a b l e 
 
 	 	 	 1   -   E n a b l e I n p u t N o t i f y 
 
 	 	 	 2   -   E n a b l e I n p u t N o N o t i f y 
 
 	 	 	 3   -   E n a b l e N o I n p u t N o t i f y 
 
 	 	 	 4   -   E n a b l e N o I n p u t N o N o t i f y 
 
 	 1 . 2 . 6 .   T s M a x D i s c o n n e c t i o n T i m e   ( T i m e S p a n ) 
 
 	 1 . 2 . 7 .   T s M a x C o n n e c t i o n T i m e   ( T i m e S p a n ) 
 
 	 1 . 2 . 8 .   T s M a x I d l e T i m e   ( T i m e S p a n ) 
 
 	 1 . 2 . 9 .   T s R e c o n n e c t i o n A c t i o n   ( i n t ) 
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 0   -   r e c o n n e c t i o n   f r o m   a n y   c l i e n t   c o m p u t e r   a l l o w e d 
 
 	 	 	 1   -   r e c o n n e c t i o n   i s   a l l o w e d   o n l y   f r o m   o r i g i n a l   c l i e n t   c o m p u t e r 
 
 	 1 . 2 . 1 0 .   T s B r o k e n C o n n e c t i o n A c t i o n   ( i n t ) 
 
 	 	 P o s s i b l e   v a l u e s : 
 
 	 	 	 0   -   c l i e n t   s e s s i o n   s h o u l d   b e   d i s c o n n e c t e d 
 
 	 	 	 1   -   c l i e n t   s e s s i o n   s h o u l d   b e   t e r m i n a t e d 
 
 	 1 . 2 . 1 1 .   T s C o n n e c t C l i e n t D r i v e s   ( $ t r u e / $ f a l s e ) 
 
 	 1 . 2 . 1 2 .   T s C o n n e c t P r i n t e r D r i v e s   ( $ t r u e / $ f a l s e ) 
 
 	 1 . 2 . 1 3 .   T s D e f a u l t T o M a i n P r i n t e r   ( $ t r u e / $ f a l s e ) 
 
 	 1 . 2 . 1 4 .   T s W o r k D i r e c t o r y   ( s t r i n g ) 
 
 	 1 . 2 . 1 5 .   T s I n i t i a l P r o g r a m   ( s t r i n g ) 
 
 	 
 
 	 N o t e :   A l l   p r o p e r t i e s   a r e   r e a d a b l e   a n d   w r i t a b l e .   I f   y o u   c h a n g e   t h e   u s e r   o b j e c t ,   y o u   m u s t 
 
 	 	 c a l l   t h e   C o m m i t C h a n g e s ( )   m e t h o d   t o   c o m m i t   c h a n g e s   t o   d i r e c t o r y . 
 
 	 
 
 2 .   F i x e d   b u g s 
 
 
 
 2 . 1 .   ' N e w P a r e n t C o n t a i n e r '   p a r a m e t e r   o f   M o v e - Q A D O b j e c t   c m d l e t   d o e s n ' t   s u p p o r t   i n p u t   f r o m   p i p e l i n e   ( 1 8 4 8 4 ) 
 
 
 
 2 . 2 .   ' S e a r c h R o o t '   p a r a m e t e r   o f   M o v e - Q A D O b j e c t   c m d l e t   d o e s n ' t   s u p p o r t   i n p u t   f r o m   p i p e l i n e   ( 1 8 4 8 4 ) 
 
 
 
 B u i l d   1 . 0 . 5 . 4 9 2 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   G e t - Q A D G r o u p M e m b e r   |   A d d - Q A D G r o u p M e m b e r   :   A m b i g u o u s   i d e n t i t y   ( 1 8 0 1 2 ) 
 
 D e t a i l s : 
 
 	 >   G e t - Q A D G r o u p M e m b e r   B e a t l e s   |   A d d - Q A D G r o u p M e m b e r   A p p l e 
 
 	 	 C a n n o t   l o o k u p   t h e   ' A p p l e '   g r o u p   i f   o t h e r   g r o u p s   s t r a t e d   w i t h   ' A p p l e '   p r e s e n t   
 
 	 	 i n   d i r e c t o r y ,   s u c h   a s   A p p l e . 1   o r   A p p l e . 2 	 	 
 
 
 
 1 . 2 .   S o m e   m i n o r   b u g s   r e g a r d i n g   o b j e c t   p i p e l i n e   i n   E n a b l e - Q A D U s e r ,   D i s a b l e - Q A D U s e r   a n d 
 
 	 	 U n l o c k - Q A D U s e r 
 
 
 
 B u i l d   1 . 0 . 5 . 4 8 4 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   ' l o c k o u t T i m e '   a t t r i b u t e   o u t p u t   t y p e   d e f a u l t s   t o   l o n g   i n s t e a d   o f   D a t e T i m e   ( 1 1 5 9 8 ) 
 
 
 
 1 . 2 .   n e w - q a d u s e r   d o e s n ' t   r e c e i v e   ' n a m e '   f r o m   i m p o r t   ( 1 1 9 2 3 ) 
 
 T h e r e   w e r e   s o m e   e r r o r s   w h i l e   p i p e l i n i n g   p a r a m e t e r s   t o   n e w - q a d g r o u p .   N o w   a l l   w o r k s   f i n e . 
 
 >   G e t - Q A D G r o u p   g r   - o u   t e s t . d o m a i n . c o m / t e s t   - e x p o r t   |   e x p o r t - c s v   c : / g r . c s v   
 
 >   i m p o r t - c s v   c : / g r . c s v   |   n e w - q a d g r o u p   - o u   t e s t 2 . d o m a i n . c o m / t e s t /   - i m p o r t 
 
 
 
 
 
 B u i l d   1 . 0 . 5 . 4 8 3 
 
 
 
 1 .   F i x e d   b u g s 
 
 
 
 1 . 1 .   E r r o r s   w h e n   o p e n i n g   A R S   P S   j u s t   i n s t a l l e d   o n   c l e a n   m a c h i n e   ( 1 1 1 8 8 ) 
 
 
 
 1 . 2 .   W r o n g   o u t p u t   t y p e   f o r m a t   f o r   c m d l e t s   o n   j u s t   i n s t a l l e d   A R S   P S   o n   c l e a n   m a c h i n e   ( 1 1 1 8 9 ) 
 
   
 
 
 
 B u i l d   1 . 0 . 5 . 4 6 9 
 
 
 
 1 .   N e w   f e a t u r e s 
 
 
 
 1 . 1 .   N e w   C m d l e t   i n t r o d u c e d :   S e t - Q A D G r o u p . 
 
 U s e   c a s e s : 
 
 1 )   >   g e t - q a d g r o u p   t e s t g r o u p   |   s e t - q a d g r o u p   - s a m a c c o u n t n a m e   { $ _ . s a m a c c o u n t n a m e   +   " N e w " } 
 
 2 )   >   s e t - q a d g r o u p   ' C N = T e s t G r o u p , O U = C o m p a n y O U , D C = c o m p a n y , D C = c o m '   - s a m a c c o u n t n a m e   ' T e s t G r o u p S a m ' 
 
 
 
 A b o v e   c a s e s   u s e   g r o u p   s p e c i f i c   a t t r i b i t e   " S a m A c c o u n t N a m e " 
 
 A l l   c a s e s   v a l i d   f o r   S e t - Q A D O b j e c t   m u s t   a l s o   b e   v a l i d   f o r   S e t - Q A D G r o u p . 
 
 
 
 
 
 2 .   F i x e d   b u g s : 
 
 
 
 2 . 1 .   r e n a m e - q a d u s e r   c a n ' t   u s e   $ _ . N a m e   f r o m   p i p e l i n e   o f   g e t - q a d o b j e c t   ( 6 7 5 0 ) 
 
 E x a m p l e :   G e t - Q A D U s e r   t e s t w i *   |   R e n a m e - Q A D O b j e c t   - N e w N a m e   { $ _ . N a m e   +   "   -   w i " } 
 
 
 
 
 
 2 . 2 .   g e t - Q A D G r o u p M e m b e r   d o e s   n o t   r e t u r n   n e s t e d   g r o u p .   R e t u r n   o n l y   n e s t e d   u s e r s .   ( 8 5 9 0 ) 
 
 
 
 
 
 2 . 3 .   G e t - Q A D G r o u p M e m b e r   r e t u r n s   o n l y   u s e r   a c c o u n t   o b j e c t s   a s   r e s u l t ,   n o   g r o u p s   a n d   c o n t a c t s   ( 1 0 0 5 2 ) 
 
 
 
 
 
 2 . 4 .   s e t - q a d u s e r   c a n ' t   s e t   u s e r p a s s w o r d   f r o m   $ _ .   i n   p i p e l i n e   o f   g e t - q a d u s e r   ( 6 7 4 9 ) 
 
 E x a m p l e :   g e t - q a d u s e r   t e s t w i *   |   s e t - q a d u s e r   - u s e r p a s s w o r d   { $ _ . s a m a c c o u n t n a m e } 
 
 R e m a r k s :   T h e   s a m e   s y n t a x   n o w   a p p l i c a b l e   t o   a l l   c m d l e t s   a n d   a l l   p a r a m e t e r s .   I . e .   p a r a m e t e r s   v a l u e   m a y 
 
 	 	 b e   i n i t i a l i z e d   b y   s c r i p t   b l o c k : 
 
 	 	 < c o m m a n d >   - < p a r a m e t e r >   { S c r i p t B l o c k } 
 
 	 	 
 
 	 	 
 
 2 . 5 .   a d d - q a d g r o u p m e m b e r   m u s t   n o t   s t o p   i f   o n e   o f   m e m b e r   a l r e a d y   e x i s t   ( 1 0 7 3 3 ) 
 
 E x a m p l e :   
 
 c r e a t e   g r o u p A   w i t h   m e m b e r s   m e m b e r 1 ,   m e m b e r 2   a n d   m e m b e r 3 
 
 c r e a t e   g r o u p B   w i t h   m e m b e r   m e m b e r 1 
 
 
 
 d o   c o m m a n d : 
 
 >   G e t - Q A D G r o u p M e m b e r   g r o u p A   |   A d d - Q A D G r o u p M e m b e r   g r o u p B 
 
 
 
 
 
 2 . 6 .   u s i n g   - l o c k e d   a n d   - d i s a b l e d   t o g e t h e r   i n   g e t - q a d u s e r   g i v e   r e s u l t   o f   - d i s a b l e d   ( 4 4 4 2 ) 
 
 E x a m p l e : 
 
 >   $ d i s a b l e d   =   ( G e t - Q A D U s e r   - D i s a b l e d   - s l   0   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s ) . c o u n t 
 
 >   $ l o c k e d   =   ( G e t - Q A D U s e r   - l o c k e d   - s l   0   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s ) . c o u n t 
 
 >   $ l o c k e d _ a n d _ d i s a b l e d   =   ( G e t - Q A D U s e r   - l o c k e d   - d i s a b l e d   - s l   0   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s ) . c o u n t 
 
 
 
 
 
 N o w   $ l o c k e d _ a n d _ d i s a b l e d   s e t s   t o   c o r r e c t   n u m b e r   o f   u s e r   a c c o u n t s   t h a t   b o t h   l o c k e d   a n d   d i s a b l e d . 
 
 $ l o c k e d _ a n d _ d i s a b l e d   < =   m i n ( $ l o c k e d ,   $ d i s a b l e d ) 
 
 
 
 
 
 2 . 7 .   c a n ' t   s e t   i m p o r t e d   a t t r i b u t e s   v a l u e s   f o r   u s e r   ( 4 5 0 0 ) 
 
 E x a m p l e : 
 
 1 )   O n   d o m a i n   A : 
 
 	 >   G e t - Q A D U s e r   " k o n s t a n t i n   z h a r k o v "   - e x p o r t   |   E x p o r t - C l i x m l   c : \ m e . x m l 
 
 2 )   O n   d o m a i n   B : 
 
 	 >   $ u s e r   =   g e t - q a d u s e r   ' j o h n   d o e ' 
 
 	 >   $ o a   =   I m p o r t - C l i x m l   c : \ m e . x m l 
 
 	 >   S e t - Q A D U s e r   $ u s e r   - i m p o r t   - o a   $ o a 
 
 	 
 
 I M P O R T A N T :   ' - i m p o r t '   a t t r i b u t e   m u s t   a l w a y s   p r e c e d e   ' - o a '   a t t r i b u t e 
 
 
 
 
 
 2 . 8 .   g e t - q a d u s e r   r e s u l t s   a r e   n o t   f u l l   w h e n   d o   A N R   s e r a c h   w h i l e   c o n n e c t e d   d i r e c t l y   t o   A D   ( 4 8 2 2 ) 
 
 E x a m p l e : 
 
 1 )   c o n n e c t   t o   A D   v i a   A R S   a n d   d o   s e a r c h : 
 
 >   C o n n e c t - Q A D S e r v i c e   - s v c   ' k z - a r s w i . k z - p r 6 . m s k . q s f t '   - p x   - c a   ' k z - p r 6 \ a d m i n i s t r a t o r '   - c p   ( c o n v e r t t o - s e c u r e s t r i n g   " k u k u 0 1 "   - a s p l a i n t e x t   - f o r c e ) 
 
 >   g e t - Q A D U s e r   t e s t 2 
 
 
 
 2 )   c o n n e c t   t o   A D   d i r e c t l y   a n d   d o   s e a r c h   a g a i n : 
 
 >   C o n n e c t - Q A D S e r v i c e   - s v c   ' k z - p r 6 . m s k . q s f t '   - c a   ' k z - p r 6 \ a d m i n i s t r a t o r '   - c p   ( c o n v e r t t o - s e c u r e s t r i n g   " k u k u 0 1 "   - a s p l a i n t e x t   - f o r c e ) 
 
 >   g e t - Q A D U s e r   t e s t 2 
 
 
 
 S e a r c h   a l g o r i t h m   h a v e   b e e n   c o r r e c t e d .   N o w   s e a r c h   a l g o r i t h m   f i r s t   t r y s   t o   f i n d   t h e   o b j e c t   w i t h   
 
 e x a c t   C N   i n   b o t h   c a s e s :   v i a   d i r e c t   A D   c o n n e c t   a n d   v i a   A R S   c o n n e c t .   I n   e x a m p l e   " C N = t e s t 2 " .   
 
 I f   s u c h   o b j e c t   i s   n o t   f o u n d   t h e n   A N R   s e a r c h   s t a r t e d . 
 
 I f   A N R   s e a r c h   i s   p r e f e r r e d   b e h a v i o r   u s e : 
 
 1 )   W i l d c a r d s :   >   g e t - Q A D U s e r   t e s t 2 * 
 
 2 )   U s e   - A n r   p a r a m e t e r :   > g e t - Q A D U s e r   - a n r   t e s t 2 
 
 
 
 
 
 2 . 9 .   w r o n g   e r r o r   m e s s a g e   w h e n   t r y i n g   t o   e n a b l e   K e y   D i s t r i b u t i o n   C e n t e r   S e r v i c e   A c c o u n t   ( 4 6 2 7 ) 
 
 S y m p t o m s : 
 
 	 >   G e t - Q A D U s e r   - D i s a b l e d   k r b   |   E n a b l e - Q A D U s e r 
 
 O u t p u t : 
 
 	 E n a b l e - Q A D U s e r   :   A   d e v i c e   a t t a c h e d   t o   t h e   s y s t e m   i s   n o t   f u n c t i o n i n g .   ( E x c e p t i o n   f r o m   H R E S U L T :   0 x 8 0 0 7 0 0 1 F ) 
 
 	 A t   l i n e : 1   c h a r : 3 8 
 
 	 +   G e t - Q A D U s e r   - D i s a b l e d   k r b   |   E n a b l e - Q A D U s e r   < < < < 
 
 	 
 
 M o r e   u s e r   f r i e n d l y   e r r o r   m e s s a g e   r e t u r n e d :   " C a n n o t   p e r f o r m   t h i s   o p e r a t i o n   f o r   s p e c i a l   a c c o u n t s " 
 
 
 
 
 
 2 . 1 0 .   l a s t l o g o n   a t t r i b u t e   i s   s h o w n   a s   I n t e g e r 8   b y   d e f a u l t   i n s t e a d   o f   D a t e T i m e   ( 4 4 3 4 ) 
 
 
 
 
 
 2 . 1 1 .   c a n ' t   i m p o r t   a c c o u n t e x p i r e s   v a l u e   f o r   u s e r   ( 4 4 8 0 ) 
 
 E x a m p l e : 
 
 	 >   $ d a t e O f E x p i r a t i o n   =   ( g e t - d a t e   - y e a r   2 0 0 7   - m o n t h   1 1   - d a y   1 5 ) . T o F i l e T i m e ( ) . T o S t r i n g ( ) 
 
 	 >   S e t - Q A D U s e r   t e s t 0 0 1   - i m p o r t   - o a   @ { a c c o u n t e x p i r e s =   $ d a t e o f E x p i r a t i o n } 
 
 	 
 
 	 
 
 2 . 1 2 .   e r r o r   w h e n   s e a r c h i n g   f o r   u s e r   a c c o u n t s   w i t h   n o n e m p t y   ' m s d s - r e s u l t a n t p s o '   a t t r i b u t e   ( 4 4 8 1 ) 
 
 E x a m p l e : 
 
 	 >   G e t - Q A D U s e r   - o a   @ { ' m s d s - r e s u l t a n t p s o '   =   ' * ' } |   F o r m a t - T a b l e   N a m e ,   M s d s - R e s u l t a n t P S o 
 
 
 
 D e t a i l s :   
 
 	 T h i s   a t t r i b u t e   i s   n o t   s e a r c h a b l e   b y   d e s i g n   o f   A D .   S o   i t ' s   n o t   a   b u g .   A l t h o u g h   t h e   e r r o r   m e s s a g e   i s   n o t   c o r r e c t   b e h a v i o r . 
 
 	 N o w   t h i s   s e a r c h   w i l l   r e t u r n   n o t h i n g   i n s t e a d   o f   r e t u r n i n g   e r r o r   m e s s a g e .   T h i s   i s   t h e   s a m e   b e h a v i o u r   a s   t h e   c u s t o m   s e a r c h   i n   A D U C . 
 
   
 
 W o r k a r o u n d : 
 
 	 >   G e t - Q A D U s e r   - o a   @ { ' m s d s - p s o a p p l i e d '   =   ' * ' }   - i p   ' m s d s - r e s u l t a n t p s o '   |   F o r m a t - T a b l e   N a m e ,   M s d s - R e s u l t a n t P S o 
 
 	 T h i s   w o r k s   f i n e ,   b e c a u s e   i f   u s e r   h a s   ' m s d s - p s o a p p l i e d '   a t t r i b u t e   s e t ,   t h e n   ' m s d s - r e s u l t a n t p s o '   a t t r i b u t e   a l s o   i s   s e t . 
 
 	 
 
 
 
 2 . 1 3 .   m a x P w d A g e   v a l u e   m u s t   b e   i n   T i m e   f o r m a t   ( 4 4 9 2 ) 
 
 E x a m p l e : 
 
 	 >   G e t - Q A D O b j e c t   - i p   m a x P w d A g e   p r o d . q u e s t . c o r p /   |   f t   n a m e ,   m a x P w d A g e 
 
 
 
 W o r k a r o u n d   f o r   1 . 0 . 4   a n d   e a r l i e r   b u i l d s : 
 
 	 >   G e t - Q A D O b j e c t   - i p   m a x P w d A g e   p r o d . q u e s t . c o r p /   - r a w   |   % { $ _ . m a x P w d A g e }   |   c o n v e r t - q a d A t t r i b u t e V a l u e   - T o   T i m e S p a n   |   f t   D a y s 
 
 	 
 
 2 . 1 4 .   s e a r c h   w i t h   g e t - q a d o b j e c t   d o n ' t   g e t   c o m m o n   p r o p e r t y   v a l u e s   i f   - t y p e   U s e r   u s e d   ( 4 5 6 0 ) 
 
 
 
 
 
 3 .   K n o w n   i s s u e s : 
 
 
 
 3 . 1 .   c a n ' t   u s e   c a n o n i c a l   n a m e   o f   p a r e n t   c o n t a i n e r   w h e n   w o r k i n g   w i t h   d i r e c t   c o n n e c t i o n   t o   A D   L D S 
 
 D e s c r i p t i o n :   u s e   D N   i n s t e a d   o f   c a n o n i c a l   n a m e   w h i l e   w o r k i n g   w i t h   A D   L D S   ( A D A M ) 
 
 E x a m p l e :   
 
 	 u s e 	 	 	 >   g e t - Q A D G r o u p   - S e a r c h R o o t   ' O U = o u 1 , O U = o u _ t e s t , D C = d o m a i n , D C = c o m ' 
 
 	 i n s t e a d   o f 	 >   g e t - Q A D G r o u p   - S e a r c h R o o t   ' d o m a i n . c o m / o u _ t e s t / o u 1 ' 
 
 	 
 
 	 
 
 3 . 2 .   g e t - q a d g r o u p   w i l d c a r d   s e a r c h   d o e s n ' t   w o r k   w i t h o u t   u s i n g   - n a m e 
 
 E x a m p l e : 
 
 	 >   g e t - Q a d G r o u p   * p r o g r a m m a n a g e r s 
 
 D e s c r i p t i o n :   M S   L D A P   A m b i g u o u s   N a m e   R e s o l u t i o n   ( A N R )   d o n ' t   s u p p o r t   w i l d c a r d s ,   e x c e p t   t h e   t r a i l i n g   
 
 	 w i l d c a r d s . 
 
 	 F o r   w i l d c a r d   s e a r c h   u s e   e x p l i c i t   a t t r i b u t e s . 
 
 	 F o r   f u r t h e r   d e t a i l s   s e e :   h t t p : / / s u p p o r t . m i c r o s o f t . c o m / k b / 2 4 3 2 9 9 
 
 W o r k a r o u n d :   >   g e t - Q A D G r o u p   - n a m e   * p r o g r a m m a n a g e r s 
 
 
 
 
 
 3 . 3 .   I m p o r t / e x p o r t   i s s u e s . 
 
 E x p o r t   s c n e r i o s   w o r k   f i n e : 
 
 1 )   >   G e t - Q A D U s e r   " k o n s t a n t i n   z h a r k o v "   - e x p o r t   |   E x p o r t - C l i x m l   c : \ m e . x m l 
 
 2 )   >   G e t - Q A D U s e r   " k o n s t a n t i n   z h a r k o v "   - e x p o r t   |   E x p o r t - C s v   c : \ m e . c s v 
 
 
 
 I m p o r t   s c e n a r i o s : 
 
 1 )   V a l i d 
 
 	 1 a ) 	 	 >   $ o u   =   ' O U = t e s t ,   D C = d o m a i n , D C = c o m '   
 
 	 	 	 >   n e w - q a d u s e r   - o u   $ o u   - n a m e   " s u p e r g u n "   - i m p o r t   - o a   { I m p o r t - C l i x m l   c : \ m e . x m l } 
 
 	 	 	 
 
 	 1 b ) 	 	 >   $ o u   =   ' O U = t e s t ,   D C = d o m a i n , D C = c o m '   
 
 	 	 	 >   n e w - q a d u s e r   - o u   $ o u   - n a m e   " s u p e r g u n "   - i m p o r t   - o a   { I m p o r t - C s v   c : \ m e . c s v } 	 
 
 	 	 	 
 
 	 1 c ) 	 	 >   $ u s e r   =   ' C N = u s e r , O U = t e s t ,   D C = d o m a i n , D C = c o m '   
 
 	 	 	 >   s e t - q a d u s e r   $ u s e r   - i m p o r t   - o a   { I m p o r t - C l i x m l   c : \ m e . x m l } 
 
 
 
 	 1 d ) 	 	 >   $ u s e r   =   ' C N = u s e r , O U = t e s t ,   D C = d o m a i n , D C = c o m '   
 
 	 	 	 >   s e t - q a d u s e r   $ u s e r   - i m p o r t   - o a   { I m p o r t - C s v   c : \ m e . c s v } 
 
 	 	 	 
 
 2 )   I n v a l i d   i n   c u r r e n t   v e r s i o n .   W o u l d   b e   f i x e d   i n   f u t u r e   b u i l d s 
 
 	 2 a ) 	 	 >   I m p o r t - C l i x m l   c : \ m e . x m l   |   N e w - Q A D U s e r   - n a m e   ' s u p e r g u n '   - i m p o r t   - o u   l h a p r i l . m s k . q s f t / t e s t 
 
 	 2 b ) 	 	 >   I m p o r t - C l i x m l   c : \ m e . x m l   |   s e t - q a d u s e r   l h a p r i l \ t e s t 0 1   - i m p o r t 
 
 	 2 c ) 	 	 >   I m p o r t - C s v   c : \ m e . c s v   |   N e w - Q A D U s e r   - n a m e   ' s u p e r g u n '   - i m p o r t   - o u   l h a p r i l . m s k . q s f t / t e s t 
 
 	 2 d ) 	 	 >   I m p o r t - C s v   c : \ m e . c s v   |   s e t - q a d u s e r   l h a p r i l \ t e s t 0 1   - i m p o r t 
 
 	 
 
 
 
 
 
 
 
 B u i l d   1 . 0 . 5 . 4 2 7   ( J u l y   3 1 ,   2 0 0 7 ) . 
 
 1 .   S o m e   m o r e   c m d l e t s   n o w   w o r k   w i t h   A D   L D S : 
 
 1 . 1 .   E n a b l e - Q A D U s e r 
 
 D e s c r i p t i o n :   E n a b l e s   u s e r   a c c o u n t . 
 
 E x a m p l e : 
 
 E n a b l e - Q A D U s e r   ' C N = u s e r n a m e , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 
 
 1 . 2 .   D i s a b l e - Q A D U s e r 
 
 D e s c r i p t i o n :   D i s a b l e s   u s e r   a c c o u n t . 
 
 E x a m p l e : 
 
 D i s a b l e - Q A D U s e r   ' C N = u s e r n a m e , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 
 
 1 . 3 .   U n l o c k - Q A D U s e r 
 
 D e s c r i p t i o n :   U n l o c k s   u s e r   a c c o u n t . 
 
 E x a m p l e : 
 
 U n l o c k - Q A D U s e r   ' C N = u s e r n a m e , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u i l d   1 . 0 . 5 . 4 2 4   ( J u l y   3 1 ,   2 0 0 7 ) . 
 
 1 .   F i x e d   b u g s : 
 
 1 . 1 . g e t - q a d o b j e c t   a n d   o t h e r   c m d l e t s   f a i l s   i f   c o n n e c t e d   t o   A D   L D S   i n s t a n c e 
 
 L i s t   o f   c m d l e t s   t h a t   w o r k   w i t h   A D   L D S   p a r t i t i o n :   
 
 
 
 	 C o n n e c t - Q A D S e r v i c e   
 
 	 d i s c o n n e c t - Q A D S e r v i c e 
 
 	 G e t - Q A D U s e r   
 
 	 S e t - Q A D U s e r   
 
 	 N e w - Q A D U s e r   
 
 	 G e t - Q A D G r o u p 
 
 	 N e w - Q A D G r o u p 
 
 	 G e t - Q A D G r o u p M e m b e r 
 
 	 A d d - Q A D G r o u p M e m b e r 
 
 	 R e m o v e - Q A D G r o u p M e m b e r 
 
 	 G e t - Q A D O b j e c t   
 
 	 S e t - Q A D O b j e c t   
 
 	 N e w - Q A D O b j e c t   
 
 	 R e m o v e - Q A D O b j e c t     
 
 
 
 E x a m p l e s :   
 
 	 C o n n e c t - Q A D S e r v i c e   
 
 	 	 C o n n e c t - Q A D S e r v i c e   - s e r v i c e   a d l d s p a r t i t i o n . a d l d s s e r v e r : p o r t n u m b e r   
 
 
 
 	 d i s c o n n e c t - Q A D S e r v i c e 
 
 	 	 d i s c o n n e c t - Q A D S e r v i c e 
 
 
 
 	 G e t - Q A D U s e r   
 
 	 	 G e t - Q A D U s e r   ' C N = u s e r n a m e , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r ' 
 
 	 	 G e t - Q A D U s e r   - S e a r c h R o o t   ' C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - L d a p F i l t e r   ' d e s c r i p t i o n = a * '   
 
 
 
 	 S e t - Q A D U s e r   
 
 	 	 S e t - Q A D U s e r   ' C N = a d a m u s e r , O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - d e s c r i p t i o n   ' S a l e s   p e r s o n ' 
 
 
 
 	 N e w - Q A D U s e r   
 
 	 	 n e w - Q A D U s e r   - n a m e   ' a d a m u s e r '   - P a r e n t C o n t a i n e r   ' O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - U s e r P a s s w o r d   ' P @ s s w o r d ' 
 
 
 
 	 G e t - Q A D G r o u p 
 
 	 	 G e t - Q A D G r o u p   ' C N = a d a m g r o u p , O U = G r o u p s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r ' 	 
 
 
 
 	 N e w - Q A D G r o u p 
 
 	 	 n e w - q a d G r o u p   - P a r e n t C o n t a i n e r   ' O U = G r o u p s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - n a m e   ' a d a m g r o u p '   
 
 
 
 	 G e t - Q A D G r o u p M e m b e r 
 
 	 	 g e t - Q A D G r o u p M e m b e r   ' C N = a d a m g r o u p , O U = G r o u p s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 	 
 
 	 A d d - Q A D G r o u p M e m b e r 
 
 	 	 a d d - Q A D G r o u p M e m b e r   - i d e n t i t y   ' C N = a d a m g r o u p , O U = G r o u p s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 	 	 - m e m b e r   ' C N = a d a m u s e r , O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r ' 
 
 
 
 	 R e m o v e - Q A D G r o u p M e m b e r 
 
 	 	 r e m o v e - Q A D G r o u p M e m b e r   - i d e n t i t y   ' C N = a d a m g r o u p , O U = G r o u p s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 	 	 - m e m b e r   ' C N = a d a m u s e r , O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r ' 
 
 	 	 
 
 	 G e t - Q A D O b j e c t   
 
 	 	 G e t - Q A D O b j e c t   - S e a r c h R o o t   ' C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - L d a p F i l t e r   ' ( d e s c r i p t i o n = s * ) ' 
 
 
 
 	 S e t - Q A D O b j e c t   
 
 	 	 S e t - Q A D O b j e c t   ' C N = a d a m u s e r , O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - d e s c r i p t i o n   ' E n g i n e e r ' 
 
 
 
 	 N e w - Q A D O b j e c t   
 
 	 	 n e w - Q A D O b j e c t   - t y p e   ' u s e r '   - n a m e   ' J o h n   S m i t h '   - P a r e n t C o n t a i n e r   ' O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   - U s e r P a s s w o r d   ' P @ s s w o r d ' 
 
 
 
 	 R e m o v e - Q A D O b j e c t     
 
 	 	 r e m o v e - Q A D O b j e c t   ' c n = J o h n   S m i t h , O U = U s e r s O U , C N = A D L D S P a r t i t i o n , D C = A D L D S S e r v e r '   
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u i l d   1 . 0 . 5 . 4 1 0   ( J u l y   1 7 ,   2 0 0 7 ) . 
 
 
 
 1 .   N e w   c m d l e t s : 
 
 1 . 1 .   E n a b l e - Q A D U s e r 
 
 D e s c r i p t i o n :   E n a b l e s   u s e r   a c c o u n t . 
 
 E x a m p l e : 
 
 E n a b l e - Q A D U s e r   u s e r 1   
 
 
 
 1 . 2 .   D i s a b l e - Q A D U s e r 
 
 D e s c r i p t i o n :   D i s a b l e s   u s e r   a c c o u n t . 
 
 E x a m p l e : 
 
 D i s a b l e - Q A D U s e r   u s e r 1   
 
 
 
 1 . 3 .   U n l o c k - Q A D U s e r 
 
 D e s c r i p t i o n :   U n l o c k s   u s e r   a c c o u n t . 
 
 E x a m p l e : 
 
 U n l o c k - Q A D U s e r   u s e r 1   
 
 
 
 2 .   N e w   p a r a m e t e r s : 
 
 2 . 1 .   G e t - Q A D U s e r : 
 
 2 . 1 . 1 .   D i s a b l e d 
 
 t y p e :   b o o l 
 
 a l i a s :   n o 
 
 d e s c r i p t i o n :   r e t u r n s   d i s a b l e d   u s e r   a c c o u n t s . 
 
 
 
 2 . 1 . 1 .   L o c k e d 
 
 t y p e :   b o o l 
 
 a l i a s :   n o 
 
 d e s c r i p t i o n :   r e t u r n s   l o c k e d   o u t   u s e r   a c c o u n t s . 
 
 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u i l d   1 . 0 . 4 . 2 7 9   ( J u n e   2 7 ,   2 0 0 7 ) . 
 
 
 
 1 .   F i x e d   b u g s : 
 
 1 . 1 .   A d d / R e m o v e   - Q A D G r o u p M e m b e r   c m d l e t s   i n c o r r e c t l y   p r o c e s s   w i l d c a r d s   i n   t h e   v a l u e   o f   I d e n t i t y   p a r a m e t e r . 
 
 E x a m p l e : 
 
 #   F a i l e d   i n   1 . 0 . 3   w i t h   ' C a n ' t   r e s o l v e   D N   f o r   i d e n t i t y ' ;   w o r k s   i n   1 . 0 . 4 : 
 
 G e t - Q A D U s e r   ' b r e t t   m i l l e r '   |   a d d - q a d G r o u p M e m b e r   ' n y c   a d m i n s * ' 
 
 #   w o r k a r o u n d   f o r   1 . 0 . 3 :   j u s t   r e m o v e   t h e   t r a i l i n g   a s t e r i s k ;   A N R   s e a r c h   w i l l   a d d   i t   b e h i n d   t h e   s c e n e s   a n y w a y 
 
 G e t - Q A D U s e r   ' b r e t t   m i l l e r '   |   a d d - q a d G r o u p M e m b e r   ' n y c   a d m i n s ' 
 
 1 . 2 .   G e t - *   c m d l e t s   a t t e m p t   t o   c o n v e r t   a l l   a t t i b u t e s   o f   I N T E G E R 8   s y n t a x   t o   D a t e T i m e 
 
 F o r   I N T E G E R 8   a t t i b u t e s   t h a t   d o   n o t   c o n t a i n   a   D a t e T i m e   v a l u e   t h i s   r e s u l t e d   i n   v a l u e   o f   D a t e T i m e . M i n D a t e   o r   i n   a n   e m p t y   v a l u e . 
 
 #   f o r   e x a m p l e   t h i s   f a i l e d   t o   d i s p l a y   t h e   l o c k o u t D u r a t i o n   i n   1 . 0 . 3 
 
 g e t - Q A D P a s s w o r d S e t t i n g s O b j e c t   |   f o r m a t - t a b l e   n a m e ,   l o c k o u t D u r a t i o n 
 
 #   w o r k a r o u n d   f o r   1 . 0 . 3 : 
 
 g e t - Q A D P a s s w o r d S e t t i n g s O b j e c t   |   f o r e a c h   { $ _ . O p e n ( ) ;   $ _ }   |   f o r m a t - t a b l e   n a m e ,   l o c k o u t D u r a t i o n 
 
 
 
 2 .   N e w   p a r a m e t e r s : 
 
 2 . 1 .   S e t - Q A D P S S n a p i n S e t t i n g s : 
 
 2 . 1 . 1 .   D e f a u l t P a g e S i z e 
 
 t y p e :   i n t 
 
 a l i a s :   " d p s " 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 d e s c r i p t i o n :   N e w   v a l u e   f o r   d e f a u l t   p a g e   s i z e   t h a t   w i l l   b e   u s e d   b y   g e t - *   c m d l e t s   w h e n   - P a g e S i z e   p a r a m   w a s n ' t   s p e c i f i e d .   
 
 N o t e :   t h e   i n i t i a l   v a l u e   ( t h e   v a l u e   t h a t   i s   i n   e f f e c t   b e f o r e   f i r s t   c a l l   t o   S e t - Q A D P S S n a p i n S e t t i n g s )   i s   5 0 . 
 
 
 
 2 . 1 . 2 .   D e f a u l t S i z e L i m i t 
 
 t y p e :   i n t 
 
 a l i a s :   " d s l " 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 d e s c r i p t i o n :   N e w   v a l u e   f o r   d e f a u l t   s i z e   l i m i t   t h a t   w i l l   b e   u s e d   b y   g e t - *   c m d l e t s   w h e n   - S i z e L i m i t   p a r a m   w a s n ' t   s p e c i f i e d .   
 
 N o t e :   t h e   i n i t i a l   v a l u e   ( t h e   v a l u e   t h a t   i s   i n   e f f e c t   b e f o r e   f i r s t   c a l l   t o   S e t - Q A D P S S n a p i n S e t t i n g s )   i s   1 0 0 0 . 
 
 E x a m p l e : 
 
 #   t o   m a k e   g e t - *   c m d l e t s   r e t u r n   a l l   r e s u l t s   ( i n s t e a d   o f   f i r s t   1 0 0 0 ) : 
 
 S e t - Q A D P S S n a p i n S e t t i n g s   - D e f a u l t S i z e L i m i t   0 
 
 
 
 2 . 1 . 3 .   D e f a u l t S e a r c h S c o p e 
 
 t y p e :   S e a r c h S c o p e   e n u m 
 
 p o s s i b l e   v a l u e s :   B a s e ,   O n e L e v e l , S u b t r e e 
 
 a l i a s :   " d s s " 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 d e s c r i p t i o n :   N e w   v a l u e   f o r   d e f a u l t   s e a r c h   s c o p e   t h a t   w i l l   b e   u s e d   b y   g e t - *   c m d l e t s   w h e n   - S e a r c h S c o p e   p a r a m   w a s n ' t   s p e c i f i e d .   
 
 N o t e :   t h e   i n i t i a l   v a l u e   ( t h e   v a l u e   t h a t   i s   i n   e f f e c t   b e f o r e   f i r s t   c a l l   t o   S e t - Q A D P S S n a p i n S e t t i n g s )   i s   S u b t r e e . 
 
 
 
 2 . 1 . 4 .   D e f a u l t W i l d c a r d M o d e 
 
 t y p e :   W i l d c a r d M o d e   e n u m 
 
 p o s s i b l e   v a l u e s :   L d a p ,   P o w e r S h e l l 
 
 a l i a s :   " d w m " 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 d e s c r i p t i o n :   N e w   v a l u e   f o r   d e f a u l t   w i l d c a r d   m o d e   t h a t   w i l l   b e   u s e d   b y   g e t - *   c m d l e t s   w h e n   - W i l d c a r d M o d e   p a r a m   w a s n ' t   s p e c i f i e d .   
 
 N o t e :   t h e   i n i t i a l   v a l u e   ( t h e   v a l u e   t h a t   i s   i n   e f f e c t   b e f o r e   f i r s t   c a l l   t o   S e t - Q A D P S S n a p i n S e t t i n g s )   i s   L d a p . 
 
 
 
 2 . 1 . 5 .   D e f a u l t O u t p u t P r o p e r t i e s F o r U s e r O b j e c t 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s   o f   a   u s e r   o b j e c t 
 
 a l i a s :   " d o p f u o " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   t h a t   w i l l   b e   o b t a i n e d   f r o m   A D   b y   g e t - *   c m d l e t s   w h e n   r e t u r n i n g   a   u s e r   o b j e c t . 
 
 E x a m p l e :   
 
 #   1 .   t o   o b t a i n   a   n o n - d e f a u l t   a t t r i b u t e   o n c e : 
 
 G e t - Q A D U s e r   - i p   ' m s D S - R e p l A t t r i b u t e M e t a D a t a '   |   f t   n a m e ,   ' m s D S - R e p l A t t r i b u t e M e t a D a t a ' 
 
 #   2 .   t o   o b t a i n   i t   a l w a y s : 
 
 $ l i s t   =   N e w - O b j e c t   C o l l e c t i o n s . A r r a y L i s t 
 
 $ l i s t . A d d R a n g e ( G e t - Q A D P S S n a p i n S e t t i n g s   - D e f a u l t O u t p u t P r o p e r t i e s F o r U s e r O b j e c t ) 
 
 $ l i s t . A d d ( ' m s D S - R e p l A t t r i b u t e M e t a D a t a ' ) 
 
 S e t - Q A D P S S n a p i n S e t t i n g s   - D e f a u l t O u t p u t P r o p e r t i e s F o r U s e r O b j e c t   $ l i s t . T o A r r a y ( [ s t r i n g ] ) 
 
 #   n o w   y o u   c a n   u s e   s i m p l e r   s i n t a x   t o   d i s p l a y   t h e   m s D S - R e p l A t t r i b u t e M e t a D a t a   
 
 #   n o t e :   t h i s   c o n s t r u c t e d   a t t r i b u t e   w i l l   b e   o b t a i n e d   f o r   e a c h   u s e r ,   w h e t h e r   y o u   w i l l   a c c e s s   i t   l a t e r   o r   n o t   -   t h i s   c a n   n e g a t i v e l y   a f f e c t   t h e   p e r f o r m a n c e 
 
 G e t - Q A D U s e r   |   f t   n a m e ,   ' m s D S - R e p l A t t r i b u t e M e t a D a t a ' 
 
 
 
 2 . 1 . 6 .   D e f a u l t O u t p u t P r o p e r t i e s F o r G r o u p O b j e c t 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s   o f   a   g r o u p   o b j e c t 
 
 a l i a s :   " d o p f g o " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   t h a t   w i l l   b e   o b t a i n e d   f r o m   A D   b y   g e t - *   c m d l e t s   w h e n   r e t u r n i n g   a   g r o u p   o b j e c t . 
 
 
 
 2 . 1 . 7 .   D e f a u l t O u t p u t P r o p e r t i e s F o r C o m p u t e r O b j e c t 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s   o f   a   c o m p u t e r   o b j e c t 
 
 a l i a s :   " d o p f c o " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   t h a t   w i l l   b e   o b t a i n e d   f r o m   A D   b y   g e t - *   c m d l e t s   w h e n   r e t u r n i n g   a   c o m p u t e r   o b j e c t . 
 
 
 
 2 . 1 . 8 .   D e f a u l t O u t p u t P r o p e r t i e s F o r A d O b j e c t 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s   o f   a n   A D   o b j e c t 
 
 a l i a s :   " d o p f a o " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   t h a t   w i l l   b e   o b t a i n e d   f r o m   A D   b y   g e t - *   c m d l e t s   w h e n   r e t u r n i n g   a n   A D   o b j e c t   ( t h a t   i s   n o t   a   u s e r ,   g r o u p ,   c o m p u t e r ,   o r   P a s s w o r d S e t t i n g s O b j e c t ) . 
 
 
 
 2 . 1 . 9 .   D e f a u l t O u t p u t P r o p e r t i e s F o r P a s s w o r d S e t t i n g s O b j e c t 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s   o f   a   P a s s w o r d S e t t i n g s O b j e c t 
 
 a l i a s :   " d o p f p s o " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   t h a t   w i l l   b e   o b t a i n e d   f r o m   A D   b y   g e t - *   c m d l e t s   w h e n   r e t u r n i n g   a   P a s s w o r d S e t t i n g s O b j e c t . 
 
 
 
 2 . 1 . 1 0 .   I n t e g e r 8 A t t r i b u t e s T h a t C o n t a i n D a t e T i m e s 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s 
 
 a l i a s :   " i 8 a t c d t " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   o f   I N T E G E R 8   s y n t a x   t h a t   w i l l   b e   c o n v e r t e d   t o   D a t e T i m e   b y   d e f a u l t   i n   t h e   o u t p u t   o f   g e t - *   c m d l e t s . 
 
 S e e   t h e   e x a m p l e   f o r   D e f a u l t O u t p u t P r o p e r t i e s F o r U s e r O b j e c t . 
 
 
 
 2 . 1 . 1 1 .   I n t e g e r 8 A t t r i b u t e s T h a t C o n t a i n N e g a t i v e T i m e S p a n s 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   a r r a y   o f   v a l i d   L D A P   d i s p l a y   n a m e s   o f   a t t r i b u t e s 
 
 a l i a s :   " i 8 a t c n t s " 
 
 a l l o w s   e m p t y   v a l u e s :   y e s 
 
 d e s c r i p t i o n :   c o n t a i n s   t h e   l i s t   o f   a t t r i b u t e s   o f   I N T E G E R 8   s y n t a x   t h a t   w i l l   b e   c o n v e r t e d   t o   T i m e S p a n s   b y   d e f a u l t   i n   t h e   o u t p u t   o f   g e t - *   c m d l e t s .   N o t e   t h a t   i f   a n   a t t r i b u t e   c o n t a i n s   a   n e g a t i v e   t i m e s p a n ,   t h e   o u t p u t   w i l l   s t i l l   b e   a   p o s i t i v e   t i m e s p a n   ( s i m i l a r   t o   w h a t   S y s t e m . T i m e S p a n . D u r a t i o n ( )   m e t h o d   d o e s ) . 
 
 
 
 2 . 2 .   G e t - Q A D P S S n a p i n S e t t i n g s : 
 
 S a m e   a s   i n   S e t - Q A D P S S n a p i n S e t t i n g s   b u t   a l l   p a r a m e t e r s   a r e   o f   t y p e   S w i t c h P a r a m e t e r   a n d   m e a n   " r e t u r n   t h e   c u r r e n t   v a l u e   o f   t h e   s p e c i f i e d   s n a p i n   s e t t i n g " . 
 
 
 
 2 . 3 .   I n   a l l   G e t - *   c m d l e t s : 
 
 2 . 3 . 1 .   D o n t C o n v e r t V a l u e s T o F r i e n d l y R e p r e s e n t a t i o n 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 a l i a s :   " d c v t f r " ,   " r a w " 
 
 d e s c r i p t i o n :   B y   d e f a u l t ,   v a l u e s   o f   I N T E G E R 8   a t t r i b u t e s   l i s t e d   i n   I n t e g e r 8 A t t r i b u t e s T h a t C o n t a i n N e g a t i v e T i m e S p a n s   ( s e e   a b o v e )   a r e   c o n v e r t e d   f r o m   I A D s L a r g e I n t e g e r   t o   T i m e S p a n ,   v a l u e s   o f   I N T E G E R 8   a t t r i b u t e s   l i s t e d   i n   I n t e g e r 8 A t t r i b u t e s T h a t C o n t a i n D a t e T i m e s   ( s e e   a b o v e )   a r e   c o n v e r t e d   f r o m   I A D s L a r g e I n t e g e r   t o   D a t e T i m e ,   v a l u e s   o f   t h e   r e s t   o f   I N T E G E R 8   a t t r i b u t e s   a r e   c o n v e r t e d   f r o m   I A D s L a r g e I n t e g e r   t o   I n t 6 4 ,   a n d   v a l u e s   o f   O c t e t S t r i n g   a t t r i b u t e s   a r e   c o n v e r t e d   f r o m   b y t e [ ]   t o   B i n H e x   s t r i n g .   I f   D o n t C o n v e r t V a l u e s T o F r i e n d l y R e p r e s e n t a t i o n   i s   s p e c i f i e d ,   n o n e   o f   t h e   m e n t i o n e d   c o n v e r t i o n s   w i l l   b e   p e r f o r m e d . 
 
   
 
 
 
 3 .   N e w   c m d l e t s : 
 
 3 . 1 .   M o v e - Q A D O b j e c t 
 
 D e s c r i p t i o n :   M o v e s   a n   A D   o b j e c t   t o   a n o t h e r   c o n t a i n e r . 
 
 P a r a m e t e r s : 
 
 3 . 1 . 1 .   I d e n t i t y 
 
 d e s c r i p t i o n :   I d e n t i t y   o f   o b j e c t   t o   b e   m o v e d .   S e e   d e s c r i p t i o n   o f   I d e n t i t y   p a r a m e t e r   i n   G e t - Q A D O b j e c t   c m d l e t . 
 
 3 . 1 . 2 .   N e w P a r e n t C o n t a i n e r 
 
 t y p e :   s t r i n g 
 
 a l i a s :   " t o " 
 
 r e q u i r e d :   y e s 
 
 d e s c r i p t i o n :   I d e n t i t y   o f   c o n t a i n e r   t h e   o b j e c t   w i l l   b e   m o v e d   t o . 
 
 E x a m p l e : 
 
 M o v e - Q A D O b j e c t   u s e r 1   - t o   c o n t a i n e r 2 
 
 
 
 3 . 2 .   R e n a m e - Q A D O b j e c t 
 
 D e s c r i p t i o n :   R e n a m e s   a n   A D   o b j e c t . 
 
 P a r a m e t e r s : 
 
 3 . 1 . 1 .   I d e n t i t y 
 
 d e s c r i p t i o n :   I d e n t i t y   o f   o b j e c t   t o   b e   r e n a m e d .   S e e   d e s c r i p t i o n   o f   I d e n t i t y   p a r a m e t e r   i n   G e t - Q A D O b j e c t   c m d l e t . 
 
 3 . 1 . 2 .   N e w N a m e 
 
 t y p e :   s t r i n g 
 
 a l i a s :   " t o " 
 
 r e q u i r e d :   y e s 
 
 d e s c r i p t i o n :   N e w   n a m e   o f   t h e   o b j e c t . 
 
 E x a m p l e : 
 
 R e n a m e - Q A D O b j e c t   u s e r 1   - t o   u s e r 2 
 
 
 
 
 
 4 .   O t h e r   c h a n g e s : 
 
 4 . 1 .   N a m e   p a r a m e t e r   i n   N e w - *   c m d l e t s   i s   n o w   m a n d a t o r y   a n d   d o e s   n o t   a c c e p t s   e m p t y   v a l u e s   a n y m o r e . 
 
 N o t e   t h a t   t h i s   w i l l   r e q u i r e   u s e   o f   f o r e a c h - o b j e c t   c m d l e t   w h e n   i m p o r t i n g   p r e v i o u s l y   e x p o r t e d   o b j e c t s : 
 
 G e t - Q A D u s e r   - o u   m y d o m a i n . l a b . l o c a l / m y O U   - N a m e   a *   - S e r i a l i z e V a l u e s   |   e x p o r t - c s v   u s e r s . c s v 
 
 i m p o r t - c s v   u s e r s . c s v   |   f o r e a c h   {   N e w - Q A D U s e r   - o u   m y O t h e r D o m a i n . l a b . l o c a l / m y O U   - D e s e r i a l i z e V a l u e s   - N a m e   $ _ . N a m e   - U s e r P a s s w o r d   ' P @ s s w 0 r d ' } 
 
 4 . 2 .   I n   N e w - Q A D G r o u p   c m d l e t   t w o   p a r a m e t e r s   n o w   h a v e   d e f a u l t   v a l u e s : 
 
 G r o u p T y p e   ( d e f a u l t   i s   S e c u r i t y )   a n d   G r o u p S c o p e   ( d e f a u l t   i s   G l o b a l ) . 
 
 4 . 3 .   A l l   c m d l e t s   t h a t   m o d i f y   t h e   A D   ( n e w / s e t / r e m o v e / m o v e / r e n a m e )   n o w   s u p p o r t   W h a t I f   a n d   C o n f i r m   c o m m o n   p a r a m e t e r s . 
 
 4 . 4 .   C o n v e r t - Q A D A t t r i b u t e V a l u e   c m d l e t   n o w   s u p p o r t s   c o n v e r t i o n   o f   I A D s L a r g e I n t e g e r   t o   T i m e S p a n . 
 
 
 
 
 
 5 .   O t h e r   h i n t s   &   t i p s : 
 
 5 . 1 .   B y   d e f a u l t ,   m o d i f i c a t i o n   o f   s e t t i n g s   p e r f o r m e d   u s i n g   S e t - Q A D P S S n a p i n S e t t i n g s   l a s t   u n t i l   t h e   e n d   o f   P o w e r S h e l l   s e s s i o n   ( t h a t   i s ,   u n t i l   t h e   a p p l i c a t i o n   i s   c l o s e d ) .   T o   a p p l y   t h e   c h a n g e s   e a c h   t i m e   t h e   P o w e r S h e l l   i s   s t a r t e d ,   a d d   t h e   c o m m a n d   i n v o k i n g   S e t - Q A D P S S n a p i n S e t t i n g s   t o   o n e   o f   y o u r   P o w e r S h e l l   p r o f i l e   f i l e s .   F o r   m o r e   i n f o r m a t i o n   o n   p r o f i l e s ,   s e e   h t t p : / / m s d n 2 . m i c r o s o f t . c o m / E n - U S / l i b r a r y / a a 7 1 7 0 6 0 . a s p x 
 
 S e e   t h e   e x a m p l e   f o r   D e f a u l t S i z e L i m i t   p a r a m e t e r   i n   S e t - Q A D P S S n a p i n S e t t i n g s   c m d l e t . 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 B u i l d   1 . 0 . 3 . 2 4 9   ( J u n e   8 ,   2 0 0 7 ) . 
 
 
 
 
 
 1 .   N e w   f e a t u r e s : 
 
 1 . 1 .   C h a n g e   i n   t y p e   o f   o u t p u t   o b j e c t   f o r   g e t   c m d l e t s . 
 
 A l l   g e t   c m d l e t s     b y   d e f a u l t   r e t u r n   a n   u n b o u n d   P s O b j e c t   w i t h   c a c h e d   v a l u e s   o f   s o m e   o f   t h e   o b j e c t   a t t r i b u t e s .   I n   p r e v i o u s   v e r s i o n ,   a n   A d s i C o n n e c t i o n   o b j e c t   c o n t a i n i n g   a   b o u n d   D i r e c t o r y E n t r y   w a s   r e t u r n e d .   I n   c u r r e n t   v e r s i o n ,   v a l u e s   o f   t h e   o u t p u t   o b j e c t   a r e   o b t a i n e d   a n d   c a c h e d   u s i n g   s e a r c h ;   t h i s   s a v e s   o n e   b i n d   p e r   o u t p u t   o b j e c t   ( p e r f o r m a n c e   i m p r o v e m e n t ) . 
 
 N o t e :   I f   e x a c t l y   o n e   o b j e c t   w a s   f o u n d   d u r i n g   t h e   s e a r c h   t h e n   a   g e t   c m d l e t   w i l l   s t i l l   r e t u r n   a   b o u n d   A d s i C o n n e c t i o n   j u s t   a s   s e t / n e w   c m d l e t s   d o .   
 
 P i p i n g   o f   r e s u l t s   o f   g e t   t o   s e t   s t i l l   w o r k s   i n   a n y   c a s e   ( i n   c a s e   o f   g e t   i n   u n b o u n d   m o d e   a   b i n d   w i l l   b e   p e r f o r m e d   b y   s e t   c m d l e t ) . 
 
 N o t e :   T o   f u r t h e r   i m p r o v e   p e r f o r m a n c e   o f   a   g e t   o p e r a t i o n   y o u   c a n   l i m i t   t h e   n u m b e r   o f   o b t a i n e d   p r o p e r t i e s   u s i n g   D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   a n d   I n c l u d e d P r o p e r t i e s   p a r a m e t e r s   ( s e e   p a r a m e t e r   d e s c r i p t i o n   i n   t h e   p a r a g r a p h   b e l o w ) 
 
 E x a m p l e   ( a d v a n c e d ) : 
 
 #   G e t   b o u n d   P s O b j e c t   a n d   r e q u e s t   h o m e D i r e c t o r y 
 
 $ u s e r   =   G e t - Q A D U s e r   - N a m e   j s m i t h   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - I n c l u d e d P r o p e r t i e s   h o m e D i r e c t o r y 
 
 #   d i s p l a y   h o m e D i r e c t o r y 
 
 $ u s e r . h o m e D i r e c t o r y 
 
 #   d i s p l a y   h o m e M D B   ( n o t e   c h a n g e   o f   s y n t a x ) 
 
 $ u s e r [ ' h o m e M D B ' ] 
 
 E x a m p l e   ( a d v a n c e d ) : 
 
 #   G e t   u n b o u n d   P s O b j e c t ;   t h e n   e x p l i c i t l y   b i n d   a n d   r e t r i e v e   a   n o n - d e f a u l t   a t t r i b u t e : 
 
 #   P h a s e 1 .   R e t r i e v e   o n l y   v a l u e s   o f   h o m e D i r e c t o r y   o f   f i r s t   3   o b j e c t s   w i t h   n a m e s   s t a r t i n g   w i t h   ' A ' 
 
 $ u s e r s   =   ( G e t - Q A D U s e r   - N a m e   a *   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - I n c l u d e d P r o p e r t i e s   h o m e D i r e c t o r y   - S i z e L i m i t   3 ) 
 
 #   P h a s e 2 .   G e t   f i r s t   u s e r   ( f i r s t   e l e m e n t   o f   a r r a y ) 
 
 $ u s e r   =   $ u s e r s [ 0 ] 
 
 #   P h a s e 3 .   C h e c k   w h e t h e r   c o n n e c t i o n   i s   o p e n   ( D i r e c t o r y E n t r y   i s   b o u n d )   ( p r i n t s :   F a l s e ) 
 
 $ u s e r . I s O p e n 
 
 #   P h a s e 4 .   O p e n   t h e   c o n n e c t i o n 
 
 $ u s e r . O p e n ( ) 
 
 #   P h a s e 5 .   P r i n t   t h e   v a l u e   o f   a   n o n - d e f a u l t   a t t r i b u t e   o f   I N T E G E R 8   s y n t a x : 
 
 $ u s e r [ ' b a d P a s s w o r d T i m e ' ]   |   c o n v e r t - q a d A t t r i b u t e V a l u e   - T o   D a t e T i m e 
 
 
 
 1 . 2 .   N e w   d e f a u l t   p r o p e r t i e s   w e r e   a d d e d   t o   o u t p u t   o b j e c t s :   
 
 1 . 2 . 1 .   F o r   a l l   o b j e c t s :   P a r e n t C o n t a i n e r 
 
 R e t u r n s   c a n o n i c a l   n a m e   o f   o b j e c t ' s   p a r e n t   c o n t a i n e r . 
 
 1 . 2 . 2 .   F o r   u s e r   o b j e c t s :   M e m b e r O f 
 
 R e t u r n s   c o n t e n t s   o f   m e m b e r O f   a t t r i b u t e   o f   t h e   u s e r   o b j e c t . 
 
 1 . 3 .   B y   d e f a u l t ,   g e t   c d m l e t s   r e t u r n   o n l y   f i r s t   1 0 0 0   o b j e c t s .   T h i s   c a n   b e   c o n f i g u r e d   u s i n g   S i z e L i m i t   p a r a m e t e r .   I n   1 . 0 . 3   a   w a r n i n g   i s   i s s u e d   i f   t h e r e   a r e   m o r e   o b j e c t s   t o   b e   d i s p l a y e d : 
 
 W A R N I N G :   O n l y   f i r s t   1 0 0 0   s e a r c h   r e s u l t s   w e r e   d i s p l a y e d .   T o   d i s p l a y   m o r e ,   i n c r e a s e   s i z e   l i m i t   u s i n g   - S i z e L i m i t   p a r a m e t e r 
 
   ( u s e   0   a s   t h e   v a l u e   o f   s i z e   l i m i t   t o   d i s p l a y   a l l   s e a r c h   r e s u l t s ) . 
 
 
 
 2 .   N e w   p a r a m e t e r s : 
 
 2 . 1 .   I n   a l l   g e t / s e t / n e w   c m d l e t s : 
 
 2 . 1 . 1 .   E x c l u d e d P r o p e r t i e s 
 
 t y p e :   s t r i n g [ ] 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " e p " ,   " e x c l u d e " 
 
 a l l o w e d   v a l u e s :   L D A P   d i s p l a y   n a m e s   o f   A D   a t t r i b u t e s 
 
 d e s c r i p t i o n :   A D   a t t r i b u t e s   s p e c i f i e d   i n   t h i s   p a r a m e t e r   w i l l   n o t   b e   o b t a i n e d   f r o m   A D   ( f o r   g e t   c m d l e t s )   a n d   w i l l   n o t   b e   p a s s e d   t o   A D   ( f o r   s e t / n e t   c m d l e t ) . 
 
 N o t e :   I n   c a s e   o f   i m p o r t   t h e r e   i s   a   d e f a u l t   s e t   o f   a t t r i b u t e s   t h a t   w i l l   a l s o   b e   i g n o r e d   ( s e e   a l s o   d e s c r i p t i o n   o f   D e s e r i a l i z e V a l u e   a n d   U s e D e f a u l t E x c l u d e d P r o p e r t i e s   p a r a m e t e r s   a n d   G e t - Q A D P S S n a p i n S e t t i n g s   a n d   S e t - Q A D P S S n a p i n S e t t i n g s   c m d l e t s ) . 
 
 
 
 2 . 1 . 2 .   I n c l u d e d P r o p e r t i e s 
 
 t y p e :   s t r i n g [ ] 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " i p " ,   " i n c l u d e " ,   " p r o p e r t i e s " 
 
 a l l o w e d   v a l u e s :   L D A P   d i s p l a y   n a m e s   o f   A D   a t t r i b u t e s 
 
 d e s c r i p t i o n :   
 
 F o r   g e t   c m d l e t s ,   t h e   a t t r i b u t e s   s p e c i f i e d   a s   t h e   v a l u e   o f   t h i s   p a r a m e t e r   w i l l   b e   a d d e d   t o   t h e   o u t p u t .   
 
 N o t e :   A t t r i b u t e s   l i s t e d   i n   E x c l u d e d P r o p e r t i e s   p a r a m e t e r   ( s e e   a b o v e )   a n d   D e f a u l t P r o p e r t i e s E x c l u d e d F r o m N o n B a s e S e a r c h   s e t t i n g   ( s e e   G e t - Q A D P S S n a p i n S e t t i n g s   c m d l e t )   b y   d e f a u l t   w i l l   n o t   b e   a d d e d   t o   t h e   o u t p u t   r e g a r d l e s s   o f   t h e   v a l u e   o f   I n c l u d e d P r o p e r t i e s   ( a l l   e x c l u s i o n s   a r e   a p p l i e d   t o   t h e   l i s t   o f   p r o p e r t i e s   t o   b e   o b t a i n e d   a f t e r   i n c l u s i o n s ) .   
 
 F o r   s e t / n e w   c m d l e t s ,   o n l y   t h e   a t t r i b u t e s   s p e c i f i e d   a s   t h e   v a l u e   o f   t h i s   p a r a m e t e r   w i l l   b e   p r o p a g a t e d   t o   A D . 
 
 N o t e :   A t t r i b u t e s   l i s t e d   i n   E x c l u d e d P r o p e r t i e s   p a r a m e t e r   ( s e e   a b o v e )   a n d   ( i n   c a s e   o f   I m p o r t )   D e f a u l t E x c l u d e d P r o p e r t i e s   s e t t i n g   ( s e e   G e t - Q A D P S S n a p i n S e t t i n g s   c m d l e t )   b y   d e f a u l t   w i l l   n o t   b e   p r o p a g a t e d   t o   A D   r e g a r d l e s s   o f   t h e   v a l u e   o f   I n c l u d e d P r o p e r t i e s 
 
 ( a l l   e x c l u s i o n s   a r e   a p p l i e d   t o   t h e   l i s t   o f   p r o p e r t i e s   t o   b e   p r o p a g a t e d   t o   A D   a f t e r   i n c l u s i o n s ) .   
 
 E x a m p l e : 
 
 #   F i n d   u s e r s   w i t h   n o n - e m p t y   H o m e D i r e c t o r y ,   d i s p l a y   N a m e ,   H o m e D i r e c t o r y   a n d   m s D S - R e p l A t t r i b u t e M e t a D a t a   f o r   e a c h   u s e r 
 
 G e t - Q A D U s e r   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - O b j e c t A t t r i b u t e s   @ { h o m e D i r e c t o r y = ' * ' }   - I n c l u d e d P r o p e r t i e s   ' m s D S - R e p l A t t r i b u t e M e t a D a t a ' , h o m e D i r e c t o r y   |   F o r m a t - T a b l e   n a m e ,   h o m e D i r e c t o r y ,   ' m s D S - R e p l A t t r i b u t e M e t a D a t a ' 
 
 
 
 2 . 1 . 3   D e s e r i a l i z e V a l u e s 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " d v " , " F r o m I m p o r t " , " I m p o r t " 
 
 d e s c r i p t i o n :   
 
 S h o u l d   b e   s p e c i f i e d   i f   v a l u e   o f   O b j e c t A t t r i b u t e s   p a r a m e t e r   c o n t a i n s   s e r i a l i z e d   a t t r i b u t e   v a l u e s .   T h i s   i s   u s u a l l y   t h e   c a s e   w h e n   i m p o r t i n g   p r e v i o u s l y   e x p o r t e d   o b j e c t .   S e e   a l s o :   S e r i a l i z e V a l u e s   p a r a m e t e r   b e l o w . 
 
 N o t e :   O b j e c t A t t r i b u t e s   p a r a m e t e r   a c c e p t s   p i p e l i n e   i n p u t   ( s e e   e x a m p l e   b e l o w ) . 
 
 N o t e :   S p e c i f y i n g   D e s e r i a l i z e V a l u e s   a l s o   h a s   a n   e f f e c t   o f   i m p l i c i t l y   s e t t i n g   U s e D e f a u l t E x c l u d e d P r o p e r t i e s   ( s e e   b e l o w )   t o   $ t r u e . 
 
 E x a m p l e : 
 
 G e t - Q A D u s e r   j s m i t h   - S e r i a l i z e V a l u e s   |   e x p o r t - c s v   u s e r . c s v 
 
 i m p o r t - c s v   u s e r . c s v   |   N e w - Q A D U s e r   - o u   m y d o m a i n . l a b . l o c a l / m y O U   - D e s e r i a l i z e V a l u e s   - N a m e   i m p o r t e d U s e r   - L o g o n N a m e   i m p o r t e d U s e r   - U s e r P a s s w o r d   ' P @ s s w 0 r d ' 
 
 
 
 2 . 1 . 4   U s e D e f a u l t E x c l u d e d P r o p e r t i e s 
 
 t y p e :   b o o l 
 
 r e q u i r e d :   n o 
 
 d e f a u l t   v a l u e :   $ f a l s e 
 
 N o t e :   I f   D e s e r i a l i z e V a l u e s   o r   U s e D e f a u l t E x c l u d e d P r o p e r t i e s E x c e p t   p a r a m e t e r   w a s   s p e c i f i e d   t h e n   U s e D e f a u l t E x c l u d e d P r o p e r t i e s   i s   c o n s i d e r e d   t o   b e   $ t r u e   ( u n l e s s   U s e D e f a u l t E x c l u d e d P r o p e r t i e s   w a s   e x p l i c i t l y   s p e c i f i e d ) . 
 
 a l i a s :   " u d e p " 
 
 d e s c r i p t i o n :   
 
 I f   t h i s   p a r a m e t e r   i s   s e t   t o   $ t r u e   t h e n   c e r t a i n   s e t   o f   p r o p e r t i e s   w i l l   b e   i g n o r e d   w h e n   o b t a i n i n g   p r o p e r t y   v a l u e s   f r o m   A D   o r   p u t t i n g   t h e   p r o p e r t i e s   t o   A D .   T h e   l i s t   o f   p r o p e r t i e s   t o   b e   e x c l u d e d   c a n   b e   v i e w e d   u s i n g   G e t - Q A D P s S n a p i n S e t t i n g s   c m d l e t   a n d   m o d i f i e d   u s i n g   S e t - Q A D P s S n a p i n S e t t i n g s   c m d l e t .   S e e   a l s o :   U s e D e f a u l t E x c l u d e d P r o p e r t i e s E x c e p t   p a r a m e t e r   b e l o w . 
 
 
 
 2 . 1 . 5   U s e D e f a u l t E x c l u d e d P r o p e r t i e s E x c e p t 
 
 t y p e :   s t r i n g [ ] 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " u d e p e " ,   " P r o p e r t i e s T h a t S h o u l d N o t B e E x c l u d e d B y D e f a u l t " , " R e t a i n e d P r o p e r t i e s " 
 
 a l l o w e d   v a l u e s :   L D A P   d i s p l a y   n a m e s   o f   A D   a t t r i b u t e s 
 
 d e s c r i p t i o n :   
 
 T h i s   p a r a m e t e r   c a n   b e   u s e d   t o   p a s s   a   l i s t   o f   p r o p e r t i e s   t h a t   s h o u l d   n o t   b e   e x c l u d e d   f r o m   a n   o p e r a t i o n   e v e n   i f   s o m e   o f   t h e m   a r e   i n   t h e   d e f a u l t   l i s t   o f   e x c l u d e d   p r o p e r t i e s   ( t h a t   c a n   b e   o b t a i n e d   u s i n g   G e t - Q A D P s S n a p i n S e t t i n g s   c m d l e t   a n d   m o d i f i e d   u s i n g   S e t - Q A D P s S n a p i n S e t t i n g s   c m d l e t ) .   U s e   t h i s   p a r a m e t e r   t o   t e m p o r a r i l y   r e m o v e   a   s e t   o f   p r o p e r t i e s   f r o m   t h e   e x c l u d e d   l i s t .   T h i s   w i l l   a f f e c t   o n l y   o n e   o p e r a t i o n   ( c o m m a n d )   a n d   w i l l   n o t   c h a n g e   t h e   l i s t   f o r   s u b s e q u e n t   o p e r a t i o n s . 
 
 N o t e :   S p e c i f y i n g   U s e D e f a u l t E x c l u d e d P r o p e r t i e s E x c e p t   a l s o   h a s   a n   e f f e c t   o f   i m p l i c i t l y   s e t t i n g   U s e D e f a u l t E x c l u d e d P r o p e r t i e s   ( s e e   a b o v e )   t o   $ t r u e . 
 
 
 
 2 . 2 .   I n   g e t   c m d l e t s : 
 
 2 . 2 . 1 .   I n c l u d e A l l P r o p e r t i e s 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " i a p " ,   " a l l " 
 
 d e s c r i p t i o n :   I s   t h i s   p a r a m e t e r   i s   s p e c i f i e d ,   a l l   p r o p e r t i e s   p e r t i n e n t   t o   a   g i v e n   t y p e   o f   A D   o b j e c t   w i l l   b e   o b t a i n e d .   F o r   e x a m p l e ,   G e t - Q A D U s e r   w i l l   r e t r i e v e   a l l   p r o p e r t i e s   o f   u s e r   o b j e c t C l a s s .   G e t - Q A D O b j e c t   i s   a   s p e c i a l   c a s e   a n d   w i l l   r e t u r n   a l l   p r o p e r t i e s   o f   a   o b j e c t C l a s s   t h a t   w a s   s p e c i f i e d   i n   t h e   T y p e   p a r a m e t e r . 
 
 N o t e :   I f   I n c l u d e A l l P r o p e r t i e s   i s   s p e c i f i e d   f o r   G e t - Q A D O b j e c t   t h e n   t h e   T y p e   m u s t   a l s o   b e   s p e c i f i e d . 
 
 E x a m p l e : 
 
 #   R e t u r n   n a m e s   o f   p r o p e r t i e s   o f   u s e r   o b j e c t s 
 
 G e t - Q A D U s e r   - I n c l u d e A l l P r o p e r t i e s   - R e t u r n P r o p e r t y N a m e s O n l y 
 
 #   D i s p l a y   v a l u e s   o f   a l l   p r o p e r t i e s   o f   a   p a r t i c u l a r   u s e r 
 
 G e t - Q A D U s e r   j s m i t h   - I n c l u d e A l l P r o p e r t i e s   - S e r i a l i z e V a l u e s   |   F o r m a t - L i s t 
 
 #   E x p o r t   v a l u e s   o f   a l l   p r o p e r t i e s   o f   a   p a r t i c u l a r   u s e r   t o   a n   X M L   f i l e 
 
 G e t - Q A D U s e r   j s m i t h   - I n c l u d e A l l P r o p e r t i e s   - S e r i a l i z e V a l u e s   |   E x p o r t - C l i x m l   u s e r . x m l 
 
 #   D i s p l a y   s o r t e d   l i s t   o f   n a m e s   o f   p r o p e r t i e s   o f   o r g a n i z a t i o n a l U n i t   o b j e c t s 
 
 G e t - Q A D O b j e c t   - T y p e   ' o r g a n i z a t i o n a l U n i t '   - I n c l u d e A l l P r o p e r t i e s   - R e t u r n P r o p e r t y N a m e s O n l y   |   %   { $ _ }   |   s o r t 
 
 
 
 2 . 2 . 2 .   R e t u r n P r o p e r t y N a m e s O n l y 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " r p n o " ,   " n a m e s " 
 
 d e s c r i p t i o n :   I s   t h i s   p a r a m e t e r   i s   s p e c i f i e d ,   o n l y   n a m e s   o f   t h e   p r o p e r t i e s   a r e   o b t a i n e d   f r o m   A D   ( b u t   t h e   v a l u e s   a r e   n o t ) .   T h i s   p a r a m e t e r   i s   u s u a l l y   u s e d   t o g e t h e r   w i t h   I n c l u d e A l l P r o p e r t i e s .   O u t p u t   o f   a   g e t   c m d l e t   i n   t h i s   c a s e   w i l l   b e   a   s t r i n g [ ]   c o n t a i n i n g   n a m e s   o f   t h e   p r o p e r t i e s .   S e e   e x a m p l e s   f o r   I n c l u d e A l l P r o p e r t i e s   p a r a m e t e r . 
 
 
 
 2 . 2 . 3 .   D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " d u d i p " ,   " r d n o " ,   " R e t u r n D N O n l y " 
 
 d e s c r i p t i o n :   I s   t h i s   p a r a m e t e r   i s   s p e c i f i e d ,   t h e   d e f a u l t   i n c l u d e d   p r o p e r t i e s   o f   a   g i v e n   A D   o b j e c t   t y p e   w i l l   n o t   b e   o b t a i n e d   f r o m   A D .   F o r   e x a m p l e ,   b y   d e f a u l t   G e t - Q A D U s e r   w i l l   r e t r i e v e   t h e s e   p r o p e r t i e s : 
 
 o b j e c t C l a s s ,   d i s t i n g u i s h e d N a m e ,   w h e n C r e a t e d ,   d e s c r i p t i o n ,   d i s p l a y N a m e ,   o b j e c t G u i d ,   w h e n C h a n g e d ,   i n f o ,   o b j e c t S i d ,   l ,   c o m p a n y ,   d e p a r t m e n t ,   f a c s i m i l e T e l e p h o n e N u m b e r ,   g i v e n N a m e ,   m a i l ,   h o m e P h o n e ,   i n i t i a l s ,   s n ,   s A M A c c o u n t N a m e ,   m a n a g e r ,   m e m b e r O f ,   m o b i l e ,   p h y s i c a l D e l i v e r y O f f i c e N a m e ,   p a g e r ,   t e l e p h o n e N u m b e r ,   p o s t a l C o d e ,   p o s t O f f i c e B o x ,   s t ,   s t r e e t A d d r e s s ,   t i t l e ,   u s e r P r i n c i p a l N a m e ,   w W W H o m e P a g e .   I f   D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   i s   s p e c i f i e d   t h e n   o n l y   o b j e c t C l a s s   a n d   d i s t i n g u i s h e d N a m e   a r e   r e t r i e v e d . 
 
 U s e   t h i s   p a r a m e t e r   l i m i t   t h e   n u m b e r   o f   o b t a i n e d   p r o p e r t i e s   a n d   t h u s   t o   i m p r o v e   p e r f o r m a n c e   o f   s e a r c h   o p e r a t i o n s   ( t h i s   i s   e s p e c i a l l y   u s e f u l l   i n   c a s e   o f   c o u n t i n g   A D   o b j e c t s   t h a t   m e e t   c e r t a i n   c r i t e r i a ,   f o r   e x a m p l e ) .   S e e   a l s o   I n c l u d e d P r o p e r t i e s   p a r a m e t e r . 
 
 E x a m p l e : 
 
 #   d i s p l a y   u s e r   c o u n t : 
 
 G e t - Q A D U s e r   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - S i z e L i m i t   0   |   M e a s u r e - O b j e c t 
 
 
 
 2 . 2 . 4 .   S e r i a l i z e V a l u e s 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " s v " ,   " F o r E x p o r t " ,   " E x p o r t " 
 
 d e s c r i p t i o n :   I f   t h i s   p a r a m e t e r   i s   s p e c i f i e d ,   t h e n   a   g e t   c m d l e t   w i l l   o u t p u t   c u s t o m   P s O b j e c t s   e a c h   o f   w h i c h   w i l l   c o n t a i n   n a m e s   a n d   s e r i a l i z e d   t o   s t r i n g   v a l u e s   o f   p r o p e r t i e s   o f   a n   A D   o b j e c t .   T h i s   p a r a m e t e r   s h o u l d   b e   s p e c i f e d   i f   t h e   r e s u l t   o f   a   g e t   c m d l e t   i s   g o i n g   t o   b e   e x p o r t e d   t o   C S V   o r   X M L   f o r   l a t e r   i m p o r t   ( s e e   e x a m p l e   f o r   D e s e r i a l i z e V a l u e s   p a r a m e t e r ) . 
 
 
 
 2 . 3 .   I n   a l l   c m d l e t s 
 
 2 . 3 . 1 .   U s e G l o b a l C a t a l o g 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " G C " 
 
 d e s c r i p t i o n :   I f   t h i s   p a r a m e t e r   i s   s p e c i f i e d ,   t h e n   a   c m d l e t   w i l l   a t t e m p t   t o   u s e   a   G l o b a l   C a t a l o g   s e r v e r   f o r   a n y   o p e r a t i o n s   w i t h   A c t i v e   D i r e c t o r y .   T h i s   i s   a   c o n n e c t i o n   p a r a m e t e r   ( s e e   C o n n e c t - Q A D S e r v i c e   c m d l e t ) . 
 
 
 
 
 
 3 .   F i x e d   b u g s : 
 
 3 . 1 .   C R 0 2 1 7 2 8 0 :   A t t e m p t   t o   s e t   e d s a A c c o u n t I s D i s a b l e d   t o   $ f a l s e   w h e n   c r e a t i n g   u s e r   r e s u l t s   i n   a n   e r r o r 
 
 E x a m p l e : 
 
 #   F a i l e d   i n   1 . 0 . 2 ,   w o r k s   i n   1 . 0 . 3 : 
 
 N e w - Q A D U s e r   - P r o x y   - P a r e n t C o n t a i n e r   ' c o m p a n y . c o m / U s e r s O U '   - N a m e   ' n e w U s e r 1 '   - L o g o n N a m e   ' n e w U s e r 1 '   - U s e r P a s s w o r d   ' P @ s s w 0 r d '   - O b j e c t A t t r i b u t e s   @ { e d s a A c c o u n t I s D i s a b l e d = $ f a l s e }   
 
 #   w o r k a r o u n d   f o r   1 . 0 . 2 : 
 
 N e w - Q A D U s e r   - P r o x y   - P a r e n t C o n t a i n e r   ' c o m p a n y . c o m / U s e r s O U '   - N a m e   ' n e w U s e r 1 '   - L o g o n N a m e   ' n e w U s e r 1 '   - U s e r P a s s w o r d   ' P @ s s w 0 r d '   - O b j e c t A t t r i b u t e s   @ { u s e r A c c o u n t C o n t r o l = 5 1 2 }   
 
 3 . 2 .   L a s t N a m e   i s   a l w a y s   e m p t y   i n   t h e   o u t p u t   o f   G e t - Q A D U s e r 
 
 #   L a s t N a m e   p r o p e r t y   i s   a l w a y s   e m p t y   i n   t h e   o u t p u t   o f   t h e   f o l l o w i n g   c o m m a n d   ( i n   1 . 0 . 2 ) : 
 
 G e t - Q A D U s e r   |   F o r m a t - L i s t 
 
 #   w o r k a r o u n d   f o r   1 . 0 . 2 : 
 
 G e t - Q A D U s e r   |   s e l e c t   N a m e ,   @ { N a m e = " L a s t   N a m e " ;   E x p r e s s i o n = { $ _ . D i r e c t o r y E n t r y . s n } }   
 
 3 . 3 .   G e t - Q A D G r o u p   |   G e t - Q A D G r o u p M e m b e r   i s   n o t   w o r k i n g 
 
 
 
 
 
 4 .   N e w   c m d l e t s : 
 
 4 . 1 .   G e t - Q A D P S S n a p i n S e t t i n g s 
 
 D e s c r i p t i o n :   R e t r i e v e s   c o m m o n   d e f a u l t   s e t t i n g s   u s e d   b y   a l l   c m d l e t s . 
 
 P a r a m e t e r s : 
 
 N o t e :   E x a c t l y   o n e   p a r a m e t e r   m u s t   b e   s p e c i f i e d   f o r   t h i s   c m d l e t . 
 
 4 . 1 . 1 .   D e f a u l t E x c l u d e d P r o p e r t i e s 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " d e p " 
 
 I f   s p e c i f i e d ,   t h e   c m d l e t   w i l l   r e t u r n   a   l i s t   o f   A D   o b j e c t   p r o p e r t i e s   t h a t   a r e   e x c l u d e d   w h e n   i m p o r t i n g   o b j e c t s   b y   d e f a u l t .   
 
 
 
 4 . 1 . 2 .   D e f a u l t P r o p e r t i e s E x c l u d e d F r o m N o n B a s e S e a r c h 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " d p e f n b s " 
 
 I f   s p e c i f i e d ,   t h e   c m d l e t   w i l l   r e t u r n   a   l i s t   o f   A D   o b j e c t   p r o p e r t i e s   t h a t   a r e   n o t   r e t r i e v e d   b y   d e f a u l t   w h e n   p e r f o r m i n g   a   s e a r c h   w i t h   S e a r c h S c o p e   s e t   t o   S u b t r e e   ( d e f a u l t   v a l u e   f o r   S e a r c h S c o p e   p a r a m e t e r )   o r   O n e L e v e l .   S p e c i f y i n g   a n y   o f   t h i s   p r o p e r t i e s   i n   a   s e a r c h   w i t h   S e a r c h S c o p e   s e t   t o   a n y t h i n g   e x c e p t   B a s e   w o u l d   r e s u l t   i n   a n   e r r o r   r e t u r n e d   f r o m   A D . 
 
 
 
 4 . 2 .   S e t - Q A D P S S n a p i n S e t t i n g s 
 
 D e s c r i p t i o n :   M o d i f i e s   c o m m o n   d e f a u l t   s e t t i n g s   u s e d   b y   a l l   c m d l e t s .   M o d i f i c a t i o n   w i l l   b e   i n   e f f e c t   u n t i l   t h e   e n d   o f   a   P o w e r S h e l l   s e s s i o n   ( i . e .   u n t i l   P o w e r S h e l l . e x e   i s   r e s t a r t e d ) . 
 
 P a r a m e t e r s : 
 
 N o t e :   A t   l e a s t   o n e   p a r a m e t e r   m u s t   b e   s p e c i f i e d   f o r   t h i s   c m d l e t . 
 
 4 . 2 . 1 .   D e f a u l t E x c l u d e d P r o p e r t i e s 
 
 t y p e :   s t r i n g [ ] 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " d e p " 
 
 a l l o w e d   v a l u e s :   L D A P   d i s p l a y   n a m e s   o f   A D   a t t r i b u t e s 
 
 U s e   t h i s   p a r a m e t e r   t o   c h a n g e   ( o r   e v e n   c l e a r )   t h e   l i s t   o f   p r o p e r t i e s   t h a t   w i l l   b e   e x c l u d e d   i m p o r t i n g   o b j e c t s   b y   d e f a u l t .   
 
 N o t e :   A t t e m p t   t o   s e t   c e r t a i n   p r o p e r t i e s   o f   a n   A D   o b j e c t   w i l l   r e s u l t   i n   e r r o r   r e t u r n e d   f r o m   A D   b e c a u s e   t h e   v a l u e   o f   t h e   a t t r i b u t e   i s   c o n t r o l l e d   b y   A D   o r   h a s   s o m e   c o n s t r a i n t s   a s s o c i a t e d   w i t h   i t . 
 
 
 
 4 . 2 . 2 .   D e f a u l t P r o p e r t i e s E x c l u d e d F r o m N o n B a s e S e a r c h 
 
 t y p e :   s t r i n g [ ] 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " d p e f n b s " 
 
 a l l o w e d   v a l u e s :   L D A P   d i s p l a y   n a m e s   o f   A D   a t t r i b u t e s 
 
 U s e   t h i s   p a r a m e t e r   t o   c h a n g e   ( o r   e v e n   c l e a r )   t h e   l i s t   o f   p r o p e r t i e s   t h a t   a r e   n o t   r e t r i e v e d   b y   d e f a u l t   w h e n   p e r f o r m i n g   a   s e a r c h   w i t h   S e a r c h S c o p e   s e t   t o   S u b t r e e   ( d e f a u l t   v a l u e   f o r   S e a r c h S c o p e   p a r a m e t e r )   o r   O n e L e v e l .   
 
 N o t e :   A t t e m p t   t o   r e t r i e v e   c e r t a i n   p r o p e r t i e s   i n   a   s e a r c h   w i t h   S e a r c h S c o p e   s e t   t o   a n y t h i n g   e x c e p t   B a s e   w o u l d   r e s u l t   i n   a n   e r r o r   r e t u r n e d   f r o m   A D . 
 
 
 
 
 
 4 . 3 .   N e w - Q A D P a s s w o r d S e t t i n g s O b j e c t 
 
 D e s c r i p t i o n :   C r e a t e s   a   n e w   P a s s w o r d   S e t t i n g s   O b j e c t .   R e q u i r e s   W i n d o w s   S e r v e r   2 0 0 8   ( C o d e n a m e   L o n g h o r n ) . 
 
 P a r a m e t e r s : 
 
 4 . 3 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 3 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 3 . 3 .   P a r e n t C o n t a i n e r 
 
 r e q u i r e d :   n o 
 
 d e f a u l t   v a l u e :   ' d o m a i n . d n s . n a m e / S y s t e m / P a s s w o r d   S e t t i n g s   C o n t a i n e r ' 
 
 d e s c r i p t i o n :   S a m e   a s   i n   N e w - Q A D U s e r   e x c e p t   i t   i s   n o t   r e q u i r e d . 
 
 4 . 3 . 4 .   N a m e   ( s a m e   a s   i n   N e w - Q A D U s e r ) 
 
 4 . 3 . 5 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   N e w - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 
 
 4 . 3 . 6 .   A p p l i e s T o 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   v a l i d   d i s t i n g u i s h e d   n a m e s   o f   u s e r s   a n d / o r   g r o u p s 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " t o " ,   " l i n k " ,   " l " 
 
 d e s c r i p t i o n :   S p e c i f y   t h i s   p a r a m e t e r   t o   a p p l y   t h e   P S O   t h a t   i s   g o i n g   t o   b e   c r e a t e d   t o   a   l i s t   o f   u s e r s / g r o u p s   ( v a l u e   o f   m s D S - P S O A p p l i e s T o   p r o p e r t y   o f   P S O ) 
 
 4 . 3 . 7 .   P r e c e d e n c e 
 
 t y p e :   i n t   
 
 a l i a s :   " p r e c " ,   " m s D S - P a s s w o r d S e t t i n g s P r e c e d e n c e " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   1   ( H i g h e s t ) 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - P a s s w o r d S e t t i n g s P r e c e d e n c e   p r o p e r t y   o f   a   P S O . 
 
 4 . 3 . 8 .   R e v e r s i b l e E n c r y p t i o n E n a b l e d 
 
 t y p e :   b o o l 
 
 a l i a s :   " r e e " , " m s D S - P a s s w o r d R e v e r s i b l e E n c r y p t i o n E n a b l e d " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   $ f a l s e 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - P a s s w o r d R e v e r s i b l e E n c r y p t i o n E n a b l e d   p r o p e r t y   o f   a   P S O . 
 
 4 . 3 . 9 .   P a s s w o r d H i s t o r y L e n g t h 
 
 t y p e :   i n t 
 
 a l i a s :   " p h l " ,   " m s D S - P a s s w o r d H i s t o r y L e n g t h " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   0 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - P a s s w o r d H i s t o r y L e n g t h   p r o p e r t y   o f   a   P S O . 
 
 4 . 3 . 1 0 .   P a s s w o r d C o m p l e x i t y E n a b l e d 
 
 t y p e :   b o o l 
 
 a l i a s :   " p c e " ,   " m s D S - P a s s w o r d C o m p l e x i t y E n a b l e d " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   $ f a l s e 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - P a s s w o r d C o m p l e x i t y E n a b l e d   p r o p e r t y   o f   a   P S O . 
 
 4 . 3 . 1 1 .   M i n i m u m P a s s w o r d L e n g t h 
 
 t y p e :   i n t 
 
 a l i a s :   " m p l " ,   " m s D S - M i n i m u m P a s s w o r d L e n g t h " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   0 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - M i n i m u m P a s s w o r d L e n g t h   p r o p e r t y   o f   a   P S O . 
 
 4 . 3 . 1 2 .   M i n i m u m P a s s w o r d A g e 
 
 t y p e :   o b j e c t 
 
 a l i a s :   " n p a " ,   " m s D S - M i n i m u m P a s s w o r d A g e " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   3 0   ( d a y s ) 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - M i n i m u m P a s s w o r d A g e   p r o p e r t y   o f   a   P S O . 
 
 p o s s i b l e   v a l u e s :   
 
 I N T E G E R 8   ( o b j e c t )   p a r a m s   c a n   n o w   b e   s p e c i f i e d   a s :   I n t 6 4 ,   I A D s L a r g e I n t e g e r ,   D a t e T i m e ,   T i m e S p a n ,   s t r i n g   ( c o n t a i n i n g   s t r i n g   r e p r e s e n t a t i o n   o f   I n t 6 4 ,   D a t e T i m e   o r   T i m e S p a n ) ,   o r   i n t .   
 
 N o t e :   F o r   l o c k o u t   t i m e   -   r e l a t e d   p a r a m s   i n t   v a l u e   i s   c o n s i d e r e d   t o   b e   t h e   n u m b e r   o f   m i n u t e s ;   f o r   p a s s w o r d   a g e   -   r e l a t e d   p a r a m s   -   i n t   v a l u e   i s   c o n s i d e r e d   t o   b e   t h e   n u m b e r   o f   d a y s . 
 
 N o t e :   t i m e   s p a n   v a l u e s   m u s t   b e   n e g a t i v e   -   A D   r e q u i r e m e n t s .   S e e   e x a m p l e s   b e l o w . 
 
 4 . 3 . 1 3 .   M a x i m u m P a s s w o r d A g e 
 
 t y p e :   o b j e c t 
 
 a l i a s :   " x p a " ,   " m s D S - M a x i m u m P a s s w o r d A g e " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   4 2   ( d a y s ) 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - M a x i m u m P a s s w o r d A g e   p r o p e r t y   o f   a   P S O . 
 
 p o s s i b l e   v a l u e s :   s e e   M i n i m u m P a s s w o r d A g e   a b o v e 
 
 4 . 3 . 1 4 .   L o c k o u t T h r e s h o l d 
 
 t y p e :   i n t 
 
 a l i a s :   " l t " ,   " m s D S - L o c k o u t T h r e s h o l d " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   5 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - L o c k o u t T h r e s h o l d   p r o p e r t y   o f   a   P S O . 
 
 4 . 3 . 1 5 .   R e s e t L o c k o u t C o u n t e r A f t e r 
 
 t y p e :   o b j e c t 
 
 a l i a s :   " r l c a " , " m s D S - L o c k o u t O b s e r v a t i o n W i n d o w " , " L o c k o u t O b s e r v a t i o n W i n d o w " , " l o w " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   3 0   ( m i n u t e s ) 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - L o c k o u t O b s e r v a t i o n W i n d o w   p r o p e r t y   o f   a   P S O . 
 
 p o s s i b l e   v a l u e s :   s e e   M i n i m u m P a s s w o r d A g e   a b o v e 
 
 4 . 3 . 1 6 .   L o c k o u t D u r a t i o n 
 
 t y p e :   o b j e c t 
 
 a l i a s :   " l d " ,   " m s D S - L o c k o u t D u r a t i o n " 
 
 r e q u i r e d :   n o 
 
 d e f a u l t :   3 0   ( m i n u t e s ) 
 
 d e s c r i p t i o n :   V a l u e   f o r   t h e   m s D S - L o c k o u t D u r a t i o n   p r o p e r t y   o f   a   P S O . 
 
 p o s s i b l e   v a l u e s :   s e e   M i n i m u m P a s s w o r d A g e   a b o v e 
 
 
 
 E x a m p l e : 
 
 #   c r e a t e   a   n e w   P S O   n a m e d   m y P s o 1   w i t h   L o c k o u t D u r a t i o n   o f   4 0   m i n ,   P r e c e d e n c e   o f   1 0   a n d   M a x i m u m P a s s w o r d A g e   o f   4 5   d a y s ,   3   h o u r s   a n d   2 3   m i n u t e s   a n d   d e f a u l t   v a l u e s   f o r   t h e   r e s t   o f   p a r a m e t e r s   a n d   a p p l y   i t   t o   t w o   g r o u p s : 
 
 N e w - Q A D P a s s w o r d S e t t i n g s O b j e c t   - N a m e   ' m y P s o 1 '   - L o c k o u t D u r a t i o n   4 0   - P r e c e d e n c e   1 0   - M a x i m u m P a s s w o r d A g e   ( n e w - t i m e s p a n   - d a y s   - 4 5   - h o u r   - 3   - m i n u t e   - 2 3 )   - A p p l i e s T o   ' m y D o m a i n \ A c c o u n t   O p e r a t o r s ' ,   ' m y D o m a i n \ E v e n t   L o g   R e a d e r s '   |   F o r m a t - L i s t 
 
 E x a m p l e   ( a d v a n c e d ) : 
 
 #   c r e a t e   a   n e w   P S O   u s i n g   O b j e c t A t t r i b u t e s 
 
 $ o a   =   @ { n a m e = ' m y P s o 7 ' ; ' m s D S - L o c k o u t T h r e s h o l d ' = 3 ; ' m s D S - L o c k o u t D u r a t i o n ' = ' - 0 0 : 4 5 : 0 0 ' } 
 
 $ o a . ' m s D S - M a x i m u m P a s s w o r d A g e ' = n e w - t i m e s p a n   - d a y   - 5 0   - h o u r   - 1 1   - m i n u t e   - 1 2 
 
 N e w - Q A D P a s s w o r d S e t t i n g s O b j e c t   - O b j e c t A t t r i b u t e s   $ o a   - P r e c e d e n c e   7   |   F o r m a t - L i s t 
 
 
 
 
 
 4 . 4 .   G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t 
 
 D e s c r i p t i o n :   R e t r i e v e s   p r o p e r t i e s   o f   P a s s w o r d   S e t t i n g s   O b j e c t s .   R e q u i r e s   W i n d o w s   S e r v e r   2 0 0 8   ( C o d e n a m e   L o n g h o r n ) . 
 
 P a r a m e t e r s : 
 
 4 . 4 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 4 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 4 . 3 .   S e a r c h   p a r a m e t e r s   ( s e e   G e t - Q A D U s e r ) 
 
 4 . 4 . 4 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   G e t - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 4 . 4 . 5 .   O t h e r   c o m m o n   p a r a m e t e r s   f o r   g e t   c m d l e t s   ( s e e   G e t - Q A D U s e r ) :   I d e n t i t y ,   N a m e ,   A N R ,   I n c l u d e A l l P r o p e r t i e s ,   R e t u r n P r o p e r t y N a m e s O n l y ,   D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s ,   S e r i a l i z e V a l u e s 
 
 4 . 4 . 6 .   P S O   -   s p e c i f i c   a t r i b u t e   p a r a m e t e r s   ( s e e   N e w - Q A D P a s s w o r d S e t t i n g s O b j e c t ) 
 
 
 
 E x a m p l e : 
 
 #   F i n d   o n e   P S O   b y   n a m e ;   d i s p l a y   i t s   p r o p e r t i e s 
 
 G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t   - N a m e   ' m y P s o 1 '   |   F o r m a t - L i s t 
 
 #   F i n d   a l l   P S O s   a n d   f i n d   o u t   w h o   t h e y   a r e   a p p l i e d   t o 
 
 G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t   - I n c l u d e d P r o p e r t i e s   ' m s D S - P S O A p p l i e s T o ' |   F o r m a t - T a b l e   N a m e ,   ' m s D S - P S O A p p l i e s T o ' 
 
 #   D i s p l a y   P S O s   a p p l i e d   t o   a   p a r t i c u l a r   u s e r 
 
 G e t - Q A D U s e r   ' s a r a   c o n n o r '   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - I n c l u d e d P r o p e r t i e s   ' M s d s - P S o A p p l i e d '   |   F o r m a t - T a b l e   ' M s d s - P S o A p p l i e d ' 
 
 #   S t o r e   t h e   l i s t   o f   a p p l i e d   P S O s   i n   a   v a r i a b l e : 
 
 $ p s o s   =   ( G e t - Q A D U s e r   ' s a r a   c o n n o r '   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - I n c l u d e d P r o p e r t i e s   ' M s d s - P S o A p p l i e d ' ) . ' M s d s - P S o A p p l i e d ' 
 
 #   D i s p l a y   t h e   r e s u l t a n t   P S O   f o r   a   p a r t i c u l a r   u s e r 
 
 G e t - Q A D U s e r   ' s a r a   c o n n o r '   - D o n t U s e D e f a u l t I n c l u d e d P r o p e r t i e s   - I n c l u d e d P r o p e r t i e s   ' M s d s - R e s u l t a n t P S o '   |   F o r m a t - T a b l e   ' M s d s - R e s u l t a n t P S o ' 
 
 
 
 4 . 5 .   A d d - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o 
 
 D e s c r i p t i o n :   L i n k s   g r o u p s   o r   u s e r s   t o   a   P a s s w o r d   S e t t i n g s   O b j e c t s .   R e q u i r e s   W i n d o w s   S e r v e r   2 0 0 8   ( C o d e n a m e   L o n g h o r n ) . 
 
 P a r a m e t e r s : 
 
 4 . 5 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 5 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 5 . 3 .   I d e n t i t y 
 
 d e s c r i p t i o n :   I d e n t i t y   o f   a   P S O   t o   m o d i f y .   ( s e e   G e t - Q A D O b j e c t   f o r   l i s t   o f   v a l i d   v a l u e s   f o r   I d e n t i t y   p a r a m e t e r ) 
 
 4 . 5 . 4 .   A p p l i e s T o 
 
 t y p e :   s t r i n g [ ] 
 
 p o s s i b l e   v a l u e s :   v a l i d   d i s t i n g u i s h e d   n a m e s   o f   u s e r s   a n d / o r   g r o u p s 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " t o " ,   " l i n k " ,   " l " 
 
 d e s c r i p t i o n :   D N s   o f   u s e r s / g r o u p s   t o   b e   l i n k e d   t o   t h e   P S O .   ( W i l l   b e   a d d e d   t o   t h e   v a l u e   o f   m s D S - P S O A p p l i e s T o   p r o p e r t y   o f   P S O ) . 
 
 E x a m p l e : 
 
 #   a d d   l i n k s ,   d i s p l a y   r e s u l t s : 
 
 A d d - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o   ' m y P s o 1 '   - A p p l i e s T o   ' S a r a   C o n n o r '   |   F o r m a t - L i s t 
 
 #   f i n d   P S O ,   a d d   a n d   r e m o v e   l i n k s ,   d i s p l a y   r e s u l t s : 
 
 G e t - Q A D P a s s w o r d S e t t i n g s O b j e c t   - N a m e   ' m y P s o 1 '   |   A d d - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o   - A p p l i e s T o   ' S a r a   C o n n o r '   |   R e m o v e - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o   - A p p l i e s T o   ' m y D o m a i n \ A c c o u n t   O p e r a t o r s '   |   F o r m a t - L i s t 
 
 
 
 4 . 6 .   R e m o v e - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o 
 
 D e s c r i p t i o n :   U n l i n k s   g r o u p s   o r   u s e r s   t o   a   P a s s w o r d   S e t t i n g s   O b j e c t s .   R e q u i r e s   W i n d o w s   S e r v e r   2 0 0 8   ( C o d e n a m e   L o n g h o r n ) . 
 
 R e m o v e s   D N s   o f   u s e r s / g r o u p s   f r o m   t h e   v a l u e   o f   m s D S - P S O A p p l i e s T o   p r o p e r t y   o f   P S O .   T h e   r e s t   i s   s i m i l a r   t o   A d d - Q A D P a s s w o r d S e t t i n g s O b j e c t A p p l i e s T o , 
 
 
 
 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 
 
 B u i l d   1 . 0 . 2 . 1 9 1   ( A p r i l   2 7 ,   2 0 0 7 ) . 
 
 
 
 1 .   N e w   c m d l e t s : 
 
 1 . 1 .   R e m o v e - Q A D O b j e c t 
 
 D e s c r i p t i o n :   D e l e t e s   A D   o b j e c t s . 
 
 P a r a m e t e r s : 
 
 1 . 1 . 1 .   C o m m o n   p a r a m e t e r s 
 
 1 . 1 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 1 . 1 . 3 .   I d e n t i t y   ( s a m e   a s   i n   S e t - Q A D O b j e c t ) 
 
 1 . 1 . 4 .   D e l e t e T r e e 
 
 t y p e :   S w i t c h P a r a m e t e r 
 
 d e f a u l t   v a l u e :   f a l s e   
 
 r e q u i r e d :   n o 
 
 a l i a s :   d t 
 
 I f   s p e c i f i e d   w h e n   d e l e t i n g   a   c o n t a i n e r   o b j e c t ,   t h e   c o n t a i n e r   i s   d e l e t e d   a l o n g   w i t h   a l l   i t s   c h i l d r e n . 
 
 
 
 E x a m p l e s : 
 
 R e m o v e - Q A D O b j e c t   ' c o m p a n y . c o m / U s e r s O U / D a r r e n   C u l l i m o r e ' 
 
 G e t - Q A D u s e r   - o u   ' c o m p a n y . c o m / U s e r s O U '   |   R e m o v e - Q A D O b j e c t   - w h a t i f 
 
 G e t - Q A D u s e r   - o u   ' c o m p a n y . c o m / U s e r s O U '   |   R e m o v e - Q A D O b j e c t   - c o n f i r m 
 
 R e m o v e - Q A D O b j e c t   ' c o m p a n y . c o m / U s e r s O U '   - d t   - f o r c e 
 
 
 
 1 . 2 .   C o n v e r t - Q A D A t t r i b u t e V a l u e 
 
 D e s c r i p t i o n :   C o n v e r t s   a   v a l u e   o f   A D   o b j e c t   a t t r i b u t e   t o   s p e c i f i e d   . N E T   t y p e .   C u r r e n t l y   o n l y   t h e   f o l l o w i n g   c o n v e r s i o n s   a r e   s u p p o r t e d :   f r o m   b y t e [ ]   t o   S e c u r i t y I d e n t i f i e r   a n d   G u i d   a n d   f r o m   I A D s L a r g e I n t e g e r   t o   I n t 6 4   a n d   D a t e T i m e   ( s e e   e x a m p l e s ) . 
 
 P a r a m e t e r s : 
 
 1 . 2 . 1 .   C o m m o n   p a r a m e t e r s 
 
 1 . 2 . 2 .   I n p u t 
 
 V a l u e   t o   c o n v e r t . 
 
 t y p e :   o b j e c t 
 
 a c c e p t s   p i p e l i n e   i n p u t :   y e s 
 
 r e q u i r e d :   y e s 
 
 
 
 1 . 2 . 2 .   O u t p u t T y p e N a m e 
 
 F u l l y   q u a l i f i e d   n a m e   o f   . N E T   t y p e   t h e   v a l u e   w i l l   b e   c o n v e r t e d   t o .   A s s e m b l y   n a m e   a n d   n a m e s p a c e   c a n   b e   o m i t t e d   i f   t y p e   i s   f r o m   t h e   S y s t e m   n a m e s p a c e   ( s e e   e x a m p l e s   b e l o w ) . 
 
 t y p e :   s t r i n g 
 
 a c c e p t s   p i p e l i n e   i n p u t :   n o 
 
 r e q u i r e d :   y e s 
 
 a l i a s :   t o 
 
 
 
 E x a m p l e s : 
 
 g e t - Q A D u s e r   j s m i t h     |   % {   $ _ . D i r e c t o r y E n t r y . o b j e c t G u i d } |   c o n v e r t - q a d A t t r i b u t e V a l u e   - t o   ' G u i d '   |   w r i t e - h o s t 
 
 g e t - Q A D u s e r   j s m i t h     |   % {   $ _ . D i r e c t o r y E n t r y . o b j e c t S i d }   |   c o n v e r t - q a d A t t r i b u t e V a l u e   - t o   ' S e c u r i t y . P r i n c i p a l . S e c u r i t y I d e n t i f i e r ' 
 
 g e t - Q A D u s e r   j s m i t h     |   % {   $ _ . D i r e c t o r y E n t r y . l a s t L o g o n } |   c o n v e r t - q a d A t t r i b u t e V a l u e   - t o   ' D a t e T i m e ' 
 
 g e t - Q A D u s e r   j s m i t h     |   % {   $ _ . D i r e c t o r y E n t r y . l a s t L o g o n } |   c o n v e r t - q a d A t t r i b u t e V a l u e   - t o   ' I n t 6 4 ' 
 
 
 
 #   G e t   l o g o n   t i m e s   f o r   a   p a r t i c u l a r   u s e r   f r o m   a l l   D C s   i n   a   d o m a i n : 
 
 g e t - q a d c o m p u t e r   - o u   ' c o m p a n y . c o m / d o m a i n   c o n t r o l l e r s '   |   s e l e c t   N a m e , @ { N a m e = " L a s t   L o g o n " ;   E x p r e s s i o n = { % {   g e t - q a d u s e r   j s m i t h   - S e r v i c e   $ _ . N a m e }   |   % {   $ _ . D i r e c t o r y E n t r y . l a s t L o g o n   }   |   c o n v e r t - q a d A t t r i b u t e V a l u e   - t o   ' D a t e T i m e ' } }   
 
 
 
 
 
 2 .   N e w   f e a t u r e s : 
 
 2 . 1 .   T o   o b t a i n   u n l i m i t e d   n u m b e r   o f   s e a r c h   r e s u l t s   i n   g e t - *   c m d l e t s ,   s e t   S i z e L i m i t   t o   0 . 
 
 E x a m p l e : 
 
 G e t - Q A D O b j e c t   - s l   0 
 
 2 . 2 .   ' S m a r t   w i l d c a r d   m o d e '   i n   g e t - *   c m d l e t s 
 
 I n   c a s e   w i l d c a r d   m o d e   w a s n ' t   s e t   e x p l i c i t l y   ( u s i n g   W i l d c a r d M o d e   p a r a m e t e r )   a n d   i f   t h e   v a l u e   o f   a n y   a t t r i b u t e   p a r a m e t e r   ( l i k e   - C i t y )   c o n t a i n s   w i l d c a r d s   t h a t   c a n   b e   u s e d   i n   P o w e r S h e l l   w i l d c a r d   m o d e   o n l y   ( i . e .   [   a n d   ]   c h a r a c t e r s )   t h e n   t h e   m o d e   i s   a s s u m e d   t o   b e   W i l d c a r d M o d e . P o w e r S h e l l ,   o t h e r w i s e   i t ' s   a s s u m e d   t o   b e   W i l d c a r d M o d e . L d a p .   T o   o v e r r i d e   t h i s ,   u s e   W i l d c a r d M o d e   p a r a m e t e r   t o   s e t   t h e   w i l d c a r d   m o d e   e x p l i c i t l y . 
 
 #   T o   f i n d   a l l   o b j e c t s   w /   d e s c r i p t i o n   s t a r t i n g   w /   l e t t e r   A ,   B ,   o r   C   f o l l o w e d   b y   l e t t e r   D   o r   F   f o l l o w e d   b y   a s t e r i s k : 
 
 G e t - Q A D O b j e c t   - o u   ' c o m p a n y . c o m / U s e r s O U '   - d e s c r i p t i o n   ' [ a - c ] [ d f ] ` * ' 
 
 
 
 3 .   F i x e d   b u g s : 
 
 3 . 1 .   A t t e m p t   t o   i n s t a l l   o n   V i s t a / L o n g h o r n   m a c h i n e   f a i l s   i f   s e t u p   w a s   l a n c h e d   f r o m   n o n - e l e v a t e d   p r o c e s s   ( s u c h   a s   b y   d o u b l e - c l i c k i n g   t h e   m s i   f i l e   i n   W i n d o w s   E x p l o r e r ) . 
 
 W o r k a r o u n d :   E x p l i c i t l y   i n v o k e   ' r u n   a s   a d m i n '   f e a t u r e   b e f o r e   s t a r t i n g   i n s t a l l a t i o n   o f   A R M S . 
 
 3 . 2 .   A t t e m p t   t o   s e t   t h e   v a l u e   o f   u s e r A c c o u n t C o n t r o l   a t t r i b u t e   o n   u s e r   c r e a t i o n   r e s u l t s   i n   e r r o r   i n   s o m e   c a s e s . 
 
 E x a m p l e : 
 
 #   t r y   t o   c r e a t e   a n   e n a b l e d   u s e r   ( t h i s   c o m m a n d   f a i l s   i n   p r e v i o u s   b u i l d s ) 
 
 n e w - q a d u s e r   - n   ' U s e r 1 '   - o u   ' c o m p a n y . c o m / U s e r s O U '     - u p   ' Q w e r t y 1 2 3 '   - o a   @ { u s e r A c c o u n t C o n t r o l = 5 1 2 } 
 
 W o r k a r o u n d : 
 
 n e w - q a d u s e r   - n   ' U s e r 1 '   - o u   ' c o m p a n y . c o m / U s e r s O U '   |   s e t - q a d U s e r   - o a   @ { u s e r A c c o u n t C o n t r o l = 5 1 2 }   - u p   ' Q w e r t y 1 2 3 ' 
 
 3 . 3   G e t - Q A D G r o u p M e m b e r   r e t u r n s   o n l y   f i r s t   1 0 0 0   m e m b e r s   b y   d e f a u l t 
 
 E x a m p l e : 
 
 ( G e t - Q A D G r o u p M e m b e r   S o m e L a r g e G r o u p ) . c o u n t 
 
 #   i f   S o m e L a r g e G r o u p   h a s   m o r e   t h a n   1 0 0 0   m e m b e r s   t h e n   i n   p r e v i o u s   b u i l d s   r e t u r n   o n l y   1 0 0 0 
 
 W o r k a r o u n d : 
 
 ( G e t - Q A D G r o u p M e m b e r   S o m e L a r g e G r o u p   - s l   ( [ i n t ] : : M a x V a l u e ) ) . c o u n t 
 
 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 B u i l d   1 . 0 . 1 . 1 5 5   ( A p r i l   2 ,   2 0 0 7 ) . 
 
 
 
 1 . 	 F i x e d   b u g s : 
 
 1 . 1 . 	 A t t e m p t   t o   m o d i f y   a   n o n - s t r i n g   a t t r i b u t e   r e s u l t s   i n   e r r o r   o r   i n   a t t r i b u t e   b e i n g   c l e a r e d . 
 
 E x a m p l e : 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / U s e r 1   - o a   @ { c o u n t r y C o d e = 7 } 
 
 B u g g y   v e r s i o n   c l e a r s   t h e   v a l u e   o f   c o n t r y C o d e   o r   t h r o w s   a n   e r r o r ;   f i x e d   o n e   s e t s   i t   t o   7 . 
 
 2 . 	 N e w   f e a t u r e s : 
 
 2 . 1 . 	 S u p p o r t   o f   m o d i f i c a t i o n   t y p e   ( a k a   c o n t r o l   c o d e ,   s e e   h t t p : / / m s d n 2 . m i c r o s o f t . c o m / e n - u s / l i b r a r y / a a 7 7 2 2 8 2 . a s p x )   f o r   m o d i f i c a t i o n   o f   m u l t i - v a l u e d   a t t r i b u t e s : 
 
 B y   d e f a u l t ,   s e t t i n g   n e w   v a l u e ( s )   f o r   a   m u l t i - v a l u e d   a t t r i b u t e   r e m o v e s   e x i s t i n g   v a l u e s   ( i f   a n y ) .   
 
 
 
 E x a m p l e s : 
 
 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / U s e r 1   - o a   @ {   o t h e r T e l e p h o n e =  1 2  } 
 
 #   a f t e r   e x e c u t i o n   o f   t h e   a b o v e   c o m m a n d ,   o t h e r T e l e p h o n e   w i l l   c o n t a i n   o n e   v a l u e :    1 2  
 
 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / U s e r 1   - o a   @ {   o t h e r T e l e p h o n e = @ (  3 4  ,  5 6  ) } 
 
 #   a f t e r   e x e c u t i o n   o f   t h e   a b o v e   c o m m a n d ,   o t h e r T e l e p h o n e   w i l l   c o n t a i n   t w o   v a l u e s :    3 4    a n d    5 6  
 
 
 
 T h e   a b o v e   d e f a u l t   b e h a v i o r   c o r r e s p o n s   t o   U p d a t e   m o d i f i c a t i o n   t y p e .   O t h e r   p o s s i b l e   m o d i f i c a t i o n   t y p e s   a r e :   C l e a r ,   A p p e n d ,   D e l e t e .   
 
 C l e a r   r e m o v e s   e x i s t i n g   v a l u e s   f r o m   a   M V A ,   A p p e n d   a d d s   n e w   v a l u e s   p r e s e r v i n g   e x i s t i n g   o n e s ,   U p d a t e   r e m o v e s   e x i s t i n g   v a l u e s   t h e n   a d d s   n e w   o n e s ,   D e l e t e   r e m o v e s   s p e c i f i e d   v a l u e s   ( s e e   h t t p : / / m s d n 2 . m i c r o s o f t . c o m / e n - u s / l i b r a r y / a a 7 7 2 2 8 2 . a s p x ) 
 
 T o   p a s s   m o d i f i c a t i o n   t y p e   a l o n g   t h e   v a l u e s ,   u s e   C o l l e c t i o n s . D i c t i o n a r y E n t r y   a s   a   v a l u e .   K e y   o f   t h i s   D i c t i o n a r y E n t r y   m u s t   c o n t a i n   a   s t r i n g   o r   i n t   c o r r e s p o n d i n g   t o   m o d i f i c a t i o n   t y p e     ( p o s s i b l e   v a l u e s :    C l e a r    ( o r   1 ) ,    U p d a t e    ( o r   2 ) ,    A p p e n d    ( o r   3 ) ,    D e l e t e    ( o r   4 ) ) ,   v a l u e   o f   
 
 t h i s   D i c t i o n a r y E n t r y   m u s t   b e   a   v a l u e   o r   a n   a r r a y   o f   v a l u e s   t o   b e   p u t   t o / r e m o v e d   f r o m   t h e   a t t r i b u t e .   
 
 
 
 E x a m p l e : 
 
 
 
 [ C o l l e c t i o n s . D i c t i o n a r y E n t r y ]   $ d e   =   n e w - o b j e c t   C o l l e c t i o n s . D i c t i o n a r y E n t r y   - a r g u m e n t L i s t   A p p e n d ,   @ (  7 8  ,  9 0  ) 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / U s e r 1   - o a   @ {   o t h e r T e l e p h o n e = $ d e } 
 
 #   a f t e r   e x e c u t i o n   o f   t h e   a b o v e   c o m m a n d ,   o t h e r T e l e p h o n e   w i l l   c o n t a i n   2   v a l u e s :    7 8    a n d    9 0    p l u s   a l l   t h e   v a l u e s   t h a t   e x i s t e d   b e f o r e   e x e c u t i o n   o f   t h e   a b o v e   c o m m a n d 
 
 
 
 [ C o l l e c t i o n s . D i c t i o n a r y E n t r y ]   $ d e   =   n e w - o b j e c t   C o l l e c t i o n s . D i c t i o n a r y E n t r y   - a r g u m e n t L i s t   D e l e t e ,    9 0  
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / U s e r 1   - o a   @ {   o t h e r T e l e p h o n e = $ d e } 
 
 #   a f t e r   e x e c u t i o n   o f   t h e   a b o v e   c o m m a n d ,   o t h e r T e l e p h o n e   w i l l   c o n t a i n   a l l   v a l u e s   t h a t   e x i s t e d   b e f o r e   e x e c u t i o n   o f   t h e   a b o v e   c o m m a n d   e x c e p t   t h e   ' 9 0 '   w h i c h   h a s   b e e n   r e m o v e d 
 
 
 
 N o t e   t h a t   
 
 - 	 M o d i f i c a t i o n   t y p e   o f   C l e a r   i g n o r e s   t h e   p a s s e d   i n   v a l u e ,   y o u   c a n   p a s s   a n y t h i n g ,   i n c l u d i n g   $ n u l l 
 
 - 	 I f   t h e   v a l u e   i t s e l f   i s   a   c o l l e c t i o n   ( e . g .   o f   t y p e   b y t e [ ]   f o r   a t t r i b u t e s   o f   O c t e t S t r i n g   s y n t a x ) ,   i t   m u s t   b e   w r a p p e d   i n   a n o t h e r   a r r a y   o f   o b j e c t s   t o   p r e v e n t   t h e   a u t o m a t i c   u n r a v e l i n g   ( i f   y o u   m e a n   t o   p a s s   a   b y t e [ ]   a s   a   s i n g l e   v a l u e ,   n o t   a n   a r r a y   o f   v a l u e s   o f   t y p e   b y t e ,   c r e a t e   a   n e w   o b j e c t [ ]   a n d   p u t   i n   a   b y t e [ ]   a s   t h e   o n l y   e l e m e n t ) 
 
 E x a m p l e : 
 
 [ b y t e [ ] ]   $ b y t e s   =   n e w - o b j e c t   " S y s t e m . B y t e [ ] "   - a r g u m e n t L i s t     1 , 2 , 3 
 
 #   ( , $ b y t e s )   c r e a t e s   a   n e w   a r r a y   o f   o b j e c t s   c o n t a i n i n g   o n l y   o n e   e l e m e n t :   a r r a y   o f   b y t e s   f r o m   $ b y t e s 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 1   - o a   @ { j p e g P h o t o = ( , $ b y t e s ) } 
 
 M o r e   c o m p l e x   e x a m p l e : 
 
 #   o b t a i n   S I D   o f   s o m e   u s e r 
 
 $ s i d   =   ( g e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 1 ) . S i d   
 
 #   c o n v e r t   i t   t o   a r r a y   o f   b y t e s 
 
 [ b y t e [ ] ]   $ b y t e s   =   n e w - o b j e c t   " S y s t e m . B y t e [ ] "   - a r g u m e n t L i s t     $ s i d . B i n a r y L e n g t h 
 
 $ s i d . G e t B i n a r y F o r m ( $ b y t e s , 0 ) 
 
 #   n o t e   t h a t   w e   m u s t   w r a p   a n y   a r r a y   v a l u e   i n   a n o t h e r   a r r a y   t o   p r e v e n t   u n r a v e l i n g :   
 
 #   ( , $ b y t e s )   c r e a t e s   a   n e w   a r r a y   o f   o b j e c t s   c o n t a i n i n g   o n l y   o n e   e l e m e n t :   a r r a y   o f   b y t e s   f r o m   $ b y t e s 
 
 #   u p d a t e   t h e   c o n t e n t s   o f   a n   a t t r i b u t e   o f   O c t e t S t r i n g   s y n a x 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 1   - o a   @ { j p e g P h o t o = ( , $ b y t e s ) } 
 
 #   o b t a i n   S I D   o f   a n o t h e r   u s e r 
 
 $ s i d   =   ( g e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 2 ) . S i d   
 
 #   c o n v e r t   i t   t o   a r r a y   o f   b y t e s 
 
 [ b y t e [ ] ]   $ b y t e s   =   n e w - o b j e c t   " S y s t e m . B y t e [ ] "   - a r g u m e n t L i s t     $ s i d . B i n a r y L e n g t h 
 
 $ s i d . G e t B i n a r y F o r m ( $ b y t e s , 0 ) 
 
 #   C r e a t e   a   D i c t i o n a r y E n t r y   w i t h   k e y   e q u a l   t o   ' A p p e n d '   a n d   v a l u e   e q u a l   t o   a r r a y   o f   o b j e c t s   c o n t a i n i n g   a n   a r r a y   o f   b y t e s 
 
 [ C o l l e c t i o n s . D i c t i o n a r y E n t r y ]   $ d e   =   n e w - o b j e c t   C o l l e c t i o n s . D i c t i o n a r y E n t r y   - a r g u m e n t L i s t   A p p e n d , ( , $ b y t e s ) 
 
 #   a d d   a   n e w   v a l u e   t o   t h e   m u l t i - v a l u e d   a t t r i b u t e   o f   O c t e t S t r i n g   s y n a x 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 1   - o a   @ { j p e g P h o t o = $ d e } 
 
 #   j p e g P h o t o   a t t r i b u t e   o f   u s e r 1   n o w   c o n t a i n s   t w o   v a l u e s :   s i d s   o f   u s e r 1   a n d   u s e r 2   i n   b i n a r y   f o r m 
 
 
 
 E x a m p l e : 
 
 [ C o l l e c t i o n s . D i c t i o n a r y E n t r y ]   $ d e   =   n e w - o b j e c t   C o l l e c t i o n s . D i c t i o n a r y E n t r y   - a r g u m e n t L i s t   C l e a r , $ n u l l 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 1   - o a   @ { j p e g P h o t o = $ d e } 
 
 #   j p e g P h o t o   a t t r i b u t e   o f   u s e r 1   i s   n o w   e m p t y 
 
 
 
 S e t - Q A D U s e r   c o m p a n y . c o m / U s e r s O U / u s e r 1   - o a   @ { j p e g P h o t o = ' ' } 
 
 #   j p e g P h o t o   a t t r i b u t e   o f   u s e r 1   i s   n o w   e m p t y   ( s a m e   a s   t h e   a b o v e ,   b u t   r e q u i r e s   l e s s   t y p i n g ) 
 
 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 B u i l d   1 . 0 . 1 . 1 4 9   ( M a r c h   2 6 ,   2 0 0 7 ) . 
 
 
 
 1 .   A d d e d   a l i a s e s   f o r   m o s t   p a r a m e t e r s ,   t o   o b t a i n   t h e   l i s t   o f   a l i a s e s   o n e   c a n   u s e   t h i s   c o m m a n d : 
 
 
 
 g c m   Q u e s t . A c t i v e R o l e s . A D M a n a g e m e n t \ *   - t y p e   c m d l e t | s e l e c t   @ { n a m e = " C m d N a m e " ; e x p r e s s i o n   = { $ _ . n a m e } }   - e x p a n d   p a r a m e t e r s e t s   | s e l e c t   c m d n a m e   - e x p a n d   p a r a m e t e r s   | w h e r e   { $ _ . a l i a s e s } | s o r t   c m d n a m e , n a m e   | % { $ l c = " " ; $ l p = " " }   { i f   ( ( $ l c   - n e   $ _ . C m d n a m e )   - O R   ( $ l p   - n e   $ _ . N a m e ) )   { $ l c =   $ _ . C m d n a m e ;   $ l p   =   $ _ . N a m e ;   $ _ } }   |   f t   c m d n a m e , n a m e , a l i a s e s    a u t o 
 
 
 
 T o   d u m p   t h e   l i s t   t o   f i l e ,   j u s t   a d d   
 
 > c : \ a l i a s e s . t x t 
 
 t o   t h e   e n d   o f   t h e   a b o v e   o n e - l i n e r . 
 
 
 
 N o t e   t h a t   f o r   a l l   a t t r i b u t e   p a r a m e t e r s   l i k e    C i t y   t h e r e   i s   a n   a l i a s   m a t c h i n g   t h e   l d a p   d i s p l a y   n a m e   o f   t h e   a t t r i b u t e   ( l i k e    l ) . 
 
 
 
 T o   g e t   a l l   a l i a s e s   f o r   g e t - q a d U s e r   ( f o r   e x a m p l e ) ,   u s e   t h i s   c o m m a n d : 
 
 
 
 g c m   g e t - q a d U s e r | s e l e c t   - e x p a n d   p a r a m e t e r s e t s   | s e l e c t   c m d n a m e   - e x p a n d   p a r a m e t e r s   | w h e r e   { $ _ . a l i a s e s } | s o r t   n a m e   | % { $ l c = " " ; $ l p = " " }   { i f   ( ( $ l p   - n e   $ _ . N a m e ) )   { $ l p   =   $ _ . N a m e ;   $ _ } }   |   f t   n a m e , a l i a s e s   - a u t o 
 
 
 
 2 .   N e w   p a r a m e t e r s : 
 
 2 . 1 .   I n   a l l   g e t / s e t / n e w   c m d l e t s : 
 
 2 . 1 . 1 .   O b j e c t A t t r i b u t e s 
 
 t y p e :   S y s t e m . C o l l e c t i o n s . H a s h t a b l e 
 
 r e q u i r e d :   n o 
 
 a l i a s :   " o a " 
 
 A l l o w s   t o   p a s s   v a l u e s   f o r   a n y   a t t r i b u t e s ,   i n c l u d i n g   o n e s   t h a t   d o   n o t   h a v e   c o r r e s p o n d i n g   a t t r i b u t e   p a r a m e t e r .   E x p l i c i t   a t t r i b u t e   p a r a m e t e r s   h a v e   p r i o r i t y   o v e r   t h i s   h a s h t a b l e   p a r a m e t e r .   K e y   f o r   t h i s   h a s h t a b l e   i s   a t t r i b u t e   L D A P   d i s p l a y   n a m e ,   v a l u e   i s   a t t r i b u t e   v a l u e   ( f o r   g e t   c m d l e t s   w i l d c a r d s   a r e   s u p p o r t e d ) 
 
         E x a m p l e : 
 
         g e t - q a d U s e r    n a m e   a *    o b j e c t A t t r i b u t e s   @ { n a m e = ' b * ' ; l = ' m o s c o w ' } 
 
 T h i s   w i l l   f i n d   a l l   u s e r s   f r o m   M o s c o w   w i t h   a   n a m e   s t a r t i n g   w /   ' A '   ( b e c a u s e   e x p l i c i t   a t t r i b u t e   p a r a m s   h a v e   p r i o r i t y   o v e r   v a l u e s   i n   h a s h t a b l e ) . 
 
 
 
 2 . 2 .   I n   a l l   G e t - Q A D *   c m d l e t s : 
 
 2 . 2 . 1 .   n a m e :   W i l d c a r d M o d e 
 
 t y p e :   e n u m 
 
 p o s s i b l e   v a l u e s :   L d a p ,   P o w e r S h e l l 
 
 d e f a u l t   v a l u e :   L d a p   
 
 r e q u i r e d :   n o 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 a l i a s :   " w m " 
 
 
 
 A l l o w s   t h e   u s e r   t o   s w i t c h   b e t w e e n   t w o   m o d e s   o f   s p e c i f y i n g   w i l d c a r d s : 
 
 
 
 P o w e r S h e l l   ( w a s   d e f a u l t   b e f o r e   t h i s   b u i l d )   m e a n s :   u s e   P S   w i l d c a r d s   ( u s i n g   * [ ] -   s e e   g e t - h e l p   a b o u t _ w i l d c a r d s )   a n d   P S   q u o t i n g   ( u s i n g   `   s e e   g e t - h e l p   a b o u t _ q u o t i n g _ r u l e s ) .   T h i s   w i l l   r e s u l t   i n   c l i e n t - s i d e   f i l t e r i n g   ( b a d   f o r   p e r f ) . 
 
 
 
 L d a p   ( i s   t h e   d e f a u l t   m o d e   s t a r t i n g   f r o m   t h i s   b u i l d )   m e a n s :   u s e   L D A P   w i l d c a r d s   ( *   o n l y )   a n d   L D A P   q u o t i n g   ( u s i n g   \ )   ( s e e   h t t p : / / m s d n 2 . m i c r o s o f t . c o m / e n - u s / l i b r a r y / a a 7 4 6 4 7 5 . a s p x ) .   T h i s   w i l l   r e s u l t   i n   s e r v e r - s i d e   f i l t e r i n g .   N o t e   t h a t   n o t   a l l   P S   w i l d c a r d s   a r e   s u p p o r t e d   i n   t h i s   m o d e   a n d   q u o t i n g   r u l e s   a r e   d i f f e r e n t   f r o m   t h o s e   o f   P S . 
 
 
 
 E x a m p l e s :   
 
 
 
 T o   f i n d   a l l   o b j e c t s   w /   d e s c r i p t i o n   s t a r t i n g   w /   l e t t e r   A   f o l l o w e d   b y   a s t e r i s k   ( ' A * ' ) : 
 
 
 
 G e t - Q A D O b j e c t   - o u   ' c o m p a n y . c o m / U s e r s O U '   - d e s c r i p t i o n   ' a \ 2 a ' 
 
 ( u s i n g   d e f a u l t   L D A P   m o d e ,   e f f i c i e n t   s e r v e r - s i d e   f i l t e r i n g ) 
 
 
 
 o r 
 
 
 
 G e t - Q A D O b j e c t   - o u   ' c o m p a n y . c o m / U s e r s O U '   - d e s c r i p t i o n   ' a ` * '   - w m   p o w e r s h e l l 
 
 ( u s i n g   P S   m o d e ,   a n d   c l i e n t - s i d e   f i l t e r i n g ,   l e s s   e f f i c i e n t   t h a n   a b o v e   e x a m p l e ) 
 
   
 
 
 
 T o   f i n d   a l l   o b j e c t s   w /   d e s c r i p t i o n   s t a r t i n g   w /   l e t t e r   A ,   B ,   o r   C   f o l l o w e d   b y   l e t t e r   D   o r   F   f o l l o w e d   b y   a s t e r i s k : 
 
 
 
 G e t - Q A D O b j e c t   - o u   ' c o m p a n y . c o m / U s e r s O U '   - d e s c r i p t i o n   ' [ a - c ] [ d f ] ` * '   - w m   p o w e r s h e l l 
 
 ( u s i n g   P S   m o d e ,   a n d   c l i e n t - s i d e   f i l t e r i n g   b e c a u s e   t h e r e   i s   n o   L D A P   e q u i v a l e n t ) 
 
 
 
   
 
 2 . 2 . 2 .   n a m e :   A n r 
 
 t y p e :   s t r i n g 
 
 r e q u i r e d :   n o 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 s u p p o r t s   w i l d c a r d s :   y e s 
 
 
 
 S p e c i f i e s   v a l u e   t o   b e   u s e d   i n   A m b i g u o u s   N a m e   R e s o l u t i o n   L d a p   q u e r y   ( t r a n s l a t e s   t o   t h e   f o l l o w i n g   l d a p   f i l t e r :   " ( a n r = < v a l u e _ o f _ a n r _ p a r a m > ) "   ( s e e   h t t p : / / s u p p o r t . m i c r o s o f t . c o m / k b / 2 4 3 2 9 9   ) 
 
 
 
 E x a m p l e s :   
 
 
 
 G e t - Q A D O b j e c t   - o u   ' c o m p a n y . c o m / U s e r s O U / '   - a n r   ' a n n * ' 
 
 
 
 F i n d s   a l l   o b j e c t s   f o r   w h i c h   v a l u e   o f   o n e   o f   t h e   f o l l o w i n g   a t t r i b u t e s   s t a r t s   w /   ' a n n ' : 
 
 G i v e n N a m e ,   S u r n a m e ,   d i s p l a y N a m e ,   L e g a c y E x c h a n g e D N ,   m s E x c h M a i l N i c k n a m e ,   R D N ,   p h y s i c a l D e l i v e r y O f f i c e N a m e ,   p r o x y A d d r e s s ,   s A M A c c o u n t N a m e 
 
 
 
 2 . 2 . 3 .   n a m e :   A t t r i b u t e S c o p e Q u e r y 
 
 t y p e :   s t r i n g 
 
 p o s s i b l e   v a l u e s :   l d a p   d i s p l a y   n a m e   o f   a n   A D   a t t r i b u t e   o f   D N   s y n t a x 
 
 r e q u i r e d :   n o 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 s u p p o r t s   w i l d c a r d s :   n o 
 
 a l i a s :   a s q 
 
 
 
 S p e c i f i e s   l d a p   n a m e   o f   t h e   a t t r i b u t e   t o   b e   u s e d   i n   A t t r i b u t e   S c o p e   Q u e r y   ( s e e   h t t p : / / m s d n 2 . m i c r o s o f t . c o m / e n - u s / l i b r a r y / a a 7 4 6 4 1 8 . a s p x ) .   
 
 E x a m p l e s :   
 
 
 
 G e t - Q A D O b j e c t   - o u   ' c o m p a n y . c o m / U s e r s O U / g r o u p 1 '   - a s q   ' m e m b e r ' 
 
 
 
 R e t u r n s   a l l   m e m b e r s   o f   t h e   g r o u p   ( c o n t e n t s   o f   t h e   a t t r i b u t e   n a m e d   ' m e m b e r '   r e t u r n e d   a s   A D   o b j e c t s   i n s t e a d   o f   s t r i n g s ) . 
 
 
 
 N o t e   t h a t : 
 
 -                     S e a r c h S c o p e   i s   i g n o r e d   ( a n d   i n t e r n a l l y   s e t   t o   B a s e )   w h e n   A t t r i b u t e S c o p e Q u e r y   i s   s p e c i f i e d .   
 
 -                     A t t r i b u t e   t o   s e a r c h   i n   m u s t   b e   o f   A D S _ D N _ S T R I N G   t y p e   ( s y n t a x ) 
 
 -                     Y o u   s h o u l d   u s e   t h e   S e a r c h R o o t   ( a k a   O U )   p a r a m ,   n o t   I d e n t i t y   p a r a m   i n   t h i s   c a s e .   I f   y o u   s p e c i f y   t h e   I d e n t i t y   p a r a m   t h e n   t h e   A S Q   p a r a m   w i l l   b e   i g n o r e d . 
 
 
 
 3 .   R e n a m e d   p a r a m e t e r s : 
 
 3 . 1 .   I n   a l l   c m d l e t s : 
 
 3 . 1 . 1 .   U s e r   - >   C o n n e c t i o n A c c o u n t 
 
 3 . 1 . 2 .   P w d   - >   C o n n e c t i o n P a s s w o r d 
 
 O l d   n a m e s   a r e   r e t a i n e d   a s   a l i a s e s   f o r   b a c k w a r d   c o m p a t i b i l i t y . 
 
 
 
 3 . 2 .   I n   a l l   N e w - Q A D *   c m d l e t s : 
 
 O r g a n i z a t i o n a l U n i t   - >   P a r e n t C o n t a i n e r 
 
 O l d   n a m e s   a r e   r e t a i n e d   a s   a l i a s e s   f o r   b a c k w a r d   c o m p a t i b i l i t y . 
 
 
 
 3 . 3 .   I n   N e w - Q A D G r o u p   c m d l e t : 
 
 3 . 3 . 1 .   T y p e   - >   G r o u p T y p e ,   a l i a s    g t  
 
 3 . 3 . 2 .   S c o p e   - > G r o u p S c o p e ,   a l i a s    g s  
 
 T h i s   i s   a   b r e a k i n g   c h a n g e ,   o l d   n a m e s   w e r e   n o t   r e t a i n e d   a s   a l i a s e s   b e c a u s e   t h e y   c a n   b e   c o n f u s e d   w i t h   T y p e   ( o b j e c t C l a s s )   a n d   S e a r c h S c o p e . 
 
 
 
 3 . 4 .   I n   N e w / S e t - Q A D U s e r   c m d l e t s : 
 
 3 . 4 . 1 .   P a s s w o r d   - > U s e r P a s s w o r d   
 
 O l d   n a m e s   a r e   r e t a i n e d   a s   a l i a s e s   f o r   b a c k w a r d   c o m p a t i b i l i t y . 
 
 
 
 4 .   N e w   c m d l e t s : 
 
 4 . 1 .   G e t - Q A D G r o u p 
 
 D e s c r i p t i o n :   r e t u r n s   g r o u p   o b j e c t s . 
 
 P a r a m e t e r s : 
 
 4 . 1 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 1 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 1 . 3 .   I d e n t i t y   ( s a m e   a s   i n   G e t - Q A D U s e r ) 
 
 4 . 1 . 4 .   N a m e   ( s a m e   a s   i n   G e t - Q A D U s e r ) 
 
 4 . 1 . 5 .   S e a r c h   p a r a m e t e r s   ( s e e   g e t - q a d U s e r ) :   A n r ,   L d a p F i l t e r ,   S e a r c h R o o t ,   S e a r c h S c o p e ,   P a g e S i z e ,   S i z e L i m i t ,   W i l d c a r d M o d e ,   A t t r i b u t e S c o p e Q u e r y 
 
 4 . 1 . 6 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   G e t - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 4 . 1 . 7 .   O t h e r   a t t r i b u t e   p a r a m e t e r s :   
 
 4 . 1 . 7 . 1 .   S a m A c c o u n t N a m e   ( s a m e   a s   i n   G e t - Q A D U s e r ) ,   
 
 a l i a s e s :   " s a n " ,   " G r o u p N a m e " 
 
 4 . 1 . 7 . 2 .   G r o u p T y p e   
 
 t y p e :   e n u m 
 
 p o s s i b l e   v a l u e s :   S e c u r i t y ,   D i s t r i b u t i o n 
 
 r e q u i r e d :   n o 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 s u p p o r t s   w i l d c a r d s :   n o 
 
 a l i a s :   g t 
 
 I f   n o t   s p e c i f i e d ,   a l l   g r o u p   t y p e s   a r e   r e t u r n e d . 
 
 4 . 1 . 7 . 3 .   G r o u p S c o p e   
 
 t y p e :   e n u m 
 
 p o s s i b l e   v a l u e s :   U n i v e r s a l ,   G l o b a l ,   D o m a i n L o c a l   
 
 r e q u i r e d :   n o 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 s u p p o r t s   w i l d c a r d s :   n o 
 
 a l i a s :   g s 
 
 I f   n o t   s p e c i f i e d ,   g r o u p s   o f   a l l   s c o p e s   a r e   r e t u r n e d . 
 
 E x a m p l e s : 
 
 g e t - q a d G r o u p   ' c o m p a n y . c o m / U s e r s O U / g r o u p 1 ' 
 
 g e t - q a d G r o u p   - o u   ' c o m p a n y . c o m / U s e r s O U '    s a n   a *   - n   a * 
 
 g e t - q a d G r o u p   - o u   ' c o m p a n y . c o m / U s e r s O U '   |   f t   g r o u p t y p e ,   g r o u p s c o p e 
 
 g e t - q a d G r o u p   - o u   ' c o m p a n y . c o m / U s e r s O U '   - g t   S e c u r i t y   - g s   U n i v e r s a l 
 
 g e t - q a d G r o u p   - o u   ' c o m p a n y . c o m / U s e r s O U '   - g s   G l o b a l 
 
 g e t - q a d G r o u p   ' c o m p a n y . c o m / U s e r s O U / g r o u p 1 '   | s e l e c t   - e x p a n d   m e m b e r s 
 
 
 
 
 
 4 . 2 .   G e t - Q A D G r o u p M e m b e r 
 
 D e s c r i p t i o n :   r e t u r n s   m e m b e r s   o f   a   s p e c i f i c   g r o u p   ( a s   u s e r   o b j e c t s ) . 
 
 P a r a m e t e r s : 
 
 4 . 2 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 2 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 2 . 3 .   I d e n t i t y 
 
 4 . 2 . 4 .   T w o   s e a r c h   p a r a m e t e r s   ( s e e   g e t - q a d U s e r ) :   P a g e S i z e ,   S i z e L i m i t 
 
 E x a m p l e s : 
 
 g e t - q a d G r o u p M e m b e r   ' c o m p a n y . c o m / U s e r s O U / g r o u p 1 ' 
 
 
 
 4 . 3 .   G e t - Q A D C o m p u t e r 
 
 D e s c r i p t i o n :   r e t u r n s   c o m p u t e r   o b j e c t s . 
 
 P a r a m e t e r s : 
 
 4 . 3 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 3 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 3 . 3 .   I d e n t i t y   ( s a m e   a s   i n   G e t - Q A D U s e r ) 
 
 4 . 3 . 4 .   N a m e   ( s a m e   a s   i n   G e t - Q A D U s e r ) 
 
 4 . 3 . 5 .   S e a r c h   p a r a m e t e r s   ( s e e   g e t - q a d U s e r ) :   A n r ,   L d a p F i l t e r ,   S e a r c h R o o t ,   S e a r c h S c o p e ,   P a g e S i z e ,   S i z e L i m i t ,   W i l d c a r d M o d e ,   A t t r i b u t e S c o p e Q u e r y 
 
 4 . 3 . 6 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   G e t - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 4 . 3 . 7 .   O t h e r   a t t r i b u t e   p a r a m e t e r s   ( f i l t e r i n g   b y   t h e   c o r r e s p o n d i n g   a t t r i b u t e ,   a l l   s u p p o r t   w i l d c a r d s   u n l e s s   s p e c i f i e d   o t h e r w i s e ;   b e l o w   a t t r i b u t e   n a m e s   a r e   s p e c i f i e d   o n l y   i f   t h e y   d i f f e r   f r o m   p a r a m e t e r   n a m e s   )   :   
 
 4 . 3 . 7 . 1 .   S a m A c c o u n t N a m e   ( s a m e   a s   i n   G e t - Q A D U s e r ) ,   
 
 a l i a s e s :   " s a n " ,   " C o m p u t e r N a m e " 
 
 4 . 3 . 7 . 2 .   D n s N a m e   ( c o r r e s p o n d s   t o   d N S H o s t N a m e   a t t r i b u t e ) ,   
 
 a l i a s e s :   " d n s " ,  d N S H o s t N a m e  
 
 4 . 3 . 7 . 3 .   L o c a t i o n ,   
 
 a l i a s e s :   " l o c " 
 
 4 . 3 . 7 . 4 .   M a n a g e d B y ,   
 
 a l i a s e s :   " m b y " 
 
 4 . 3 . 7 . 5 .   O S N a m e   ( c o r r e s p o n d s   t o   o p e r a t i n g S y s t e m   a t t r i b u t e ) ,   
 
 a l i a s e s :   " o s n " , " o p e r a t i n g S y s t e m   " 
 
 4 . 3 . 7 . 6 .   O S V e r s i o n   ( c o r r e s p o n d s   t o   o p e r a t i n g S y s t e m V e r s i o n   a t t r i b u t e ) ,   
 
 a l i a s e s :   " o s v " , " o p e r a t i n g S y s t e m V e r s i o n   " 
 
 4 . 3 . 7 . 7 .   O S S e r v i c e P a c k ( c o r r e s p o n d s   t o   o p e r a t i n g S y s t e m S e r v i c e P a c k   a t t r i b u t e ) ,   
 
 a l i a s e s :   " o s s " , " o p e r a t i n g S y s t e m S e r v i c e P a c k   " 
 
 4 . 3 . 7 . 8 .   C o m p u t e r R o l e 
 
 t y p e :   e n u m 
 
 p o s s i b l e   v a l u e s :   M e m b e r ,   D o m a i n C o n t r o l l e r 
 
 r e q u i r e d :   n o 
 
 a l l o w s   e m p t y   v a l u e s :   n o 
 
 s u p p o r t s   w i l d c a r d s :   n o 
 
 a l i a s :   " c r " 
 
 I f   n o t   s p e c i f i e d ,   c o m p u t e r s   o f   a l l   r o l e s   a r e   r e t u r n e d . 
 
 
 
 E x a m p l e s : 
 
 G e t - Q A D C o m p u t e r   - o u   ' c o m p a n y . c o m / U s e r s O U '    o s n   * V i s t a * 
 
 G e t - Q A D C o m p u t e r    t e s t e n v . m s k . l a b / D o m a i n   C o n t r o l l e r s / T E S T E N V D C 1  
 
 G e t - Q A D C o m p u t e r   - c o m p u t e r R o l e   ' D o m a i n C o n t r o l l e r '   | f t   n a m e ,   c o m p u t e r R o l e 
 
 G e t - Q A D C o m p u t e r   |   f t   c o m p u t e r n a m e ,   o s n a m e ,   o s v e r s i o n ,   o s s e r v i c e p a c k 
 
 G e t - Q A D C o m p u t e r   |   f t   d n s n a m e ,   c r e a t o r s i d ,   l o c a t i o n ,   m a n a g e d B y 
 
 G e t - Q A D C o m p u t e r   |   s e l e c t   - e x p a n d   m e m b e r o f 
 
 
 
 4 . 4 .   G e t - Q A D O b j e c t 
 
 D e s c r i p t i o n :   r e t u r n s   A D   o b j e c t s . 
 
 P a r a m e t e r s : 
 
 4 . 4 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 4 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 4 . 3 .   I d e n t i t y   ( s a m e   a s   i n   G e t - Q A D U s e r ) 
 
 4 . 4 . 4 .   N a m e   ( s a m e   a s   i n   G e t - Q A D U s e r ) 
 
 4 . 4 . 5 .   S e a r c h   p a r a m e t e r s   ( s e e   g e t - q a d U s e r ) :   A n r ,   L d a p F i l t e r ,   S e a r c h R o o t ,   S e a r c h S c o p e ,   P a g e S i z e ,   S i z e L i m i t ,   W i l d c a r d M o d e ,   A t t r i b u t e S c o p e Q u e r y 
 
 4 . 4 . 6 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   G e t - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 4 . 4 . 7 .   O t h e r   a t t r i b u t e   p a r a m e t e r s :   
 
 4 . 4 . 7 . 1 .   T y p e   ( c o r r e s p o n d s   t o   o b j e c t C l a s s   a t t r i b u t e ) ,   
 
 t y p e :   s t r i n g 
 
 p o s s i b l e   v a l u e s :   v a l i d   o b j e c t   c l a s s e s 
 
 a l i a s e s :   " t y " 
 
 s u p p o r t s   w i l d c a r d s :   n o 
 
 r e q u i r e d :   n o 
 
 I f   n o t   s p e c i f i e d ,   o b j e c t s   o f   a l l   t y p e s   a r e   r e t u r n e d . 
 
 
 
 E x a m p l e s : 
 
 g e t - q a d O b j e c t   ' c o m p a n y . c o m / U s e r s O U ' 
 
 g e t - q a d O b j e c t   - o u   ' t e s t e n v . m s k . l a b / '    t y   c o n t a i n e r   - n   a *   
 
             g e t - q a d O b j e c t      d e s   a *    o b j e c t A t t r i b u t e s   @ { c = ' U S ' ; l = ' N e w   Y o r k ' } 
 
 
 
 
 
 4 . 5 .   S e t - Q A D O b j e c t 
 
 D e s c r i p t i o n :   m o d i f i e s   a n   e x i s t i n g   A D   o b j e c t . 
 
 P a r a m e t e r s : 
 
 4 . 5 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 5 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 5 . 3 .   I d e n t i t y   ( s a m e   a s   i n   S e t - Q A D U s e r ) 
 
 4 . 5 . 4 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   S e t - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 
 
 E x a m p l e s : 
 
 S e t - Q A D O b j e c t   c o m p a n y . c o m / U s e r s O U / P o w e r S h e l l   - d e s   ' a '   - o a   @ { c = ' U S ' ; } 
 
 
 
 4 . 6 .   N e w - Q A D O b j e c t 
 
 D e s c r i p t i o n :   c r e a t e s   a   n e w   o b j e c t . 
 
 P a r a m e t e r s : 
 
 4 . 6 . 1 .   C o m m o n   p a r a m e t e r s 
 
 4 . 6 . 2 .   C o n n e c t i o n   p a r a m e t e r s   ( s e e   C o n n e c t - Q A D S e r v i c e ) 
 
 4 . 6 . 3 .   P a r e n t C o n t a i n e r   ( s a m e   a s   i n   N e w - Q A D U s e r ) 
 
 4 . 6 . 4 .   N a m e   ( s a m e   a s   i n   N e w - Q A D U s e r ) 
 
 4 . 6 . 5 .   C o m m o n   a t t r i b u t e   p a r a m e t e r s   ( s e e   N e w - Q A D U s e r ) :   O b j e c t A t t r i b u t e s ,   D e s c r i p t i o n ,   D i s p l a y N a m e 
 
 4 . 6 . 6 .   T y p e   
 
 d e s c r i p t i o n :   A D   o b j e c t   t y p e ( v a l u e   o f   o b j e c t C l a s s   a t t r i b u t e )   o f   t h e   o b j e c t   t o   b e   c r e a t e d 
 
 t y p e :   s t r i n g 
 
 p o s s i b l e   v a l u e s :   v a l i d   o b j e c t   c l a s s e s   l i k e    u s e r  ,    g r o u p  ,    c o m p u t e r  ,    o r g a n i z a t i o n a l U n i t  ,   e t c . 
 
 r e q u i r e d :   y e s 
 
 a l i a s :    t y  
 
 
 
 E x a m p l e s : 
 
 N e w - Q A D O b j e c t   - o u   c o m p a n y . c o m / U s e r s O U / P o w e r S h e l l   - n   w   - t y   o r g a n i z a t i o n a l U n i t   - d e s   ' a '   - o a   @ { c o = ' U S ' ; } 
 
 
 
 N e w - Q A D O b j e c t   - o u   c o m p a n y . c o m / U s e r s O U / P o w e r S h e l l   - n   u   - t y   c o n t a i n e r 
 
 
 
 5 .   O t h e r   n e w   f e a t u r e s : 
 
 5 . 1 .     A p p r o v a l   s u p p o r t   h a s   b e e n   a d d e d   ( i n   p r o x y   m o d e      s e e   C o n n e c t - Q A D S e r v i c e   - P r o x y ) ;   i f   o p e r a t i o n   ( s u c h   a s   u s e r   c r e a t i o n   f o r   e x a m p l e )   w a s   s u b m i t t e d   f o r   a p p r o v a l ,   t h e   f o l l o w i n g   w a r n i n g   i s   i s s u e d   ( p r i n t e d   i n   y e l l o w   c o l o r ) : 
 
 W A R N I N G :   O p e r a t i o n   w a s   s u b m i t t e d   f o r   a p p r o v a l .   O b j e c t :   C N = L o t t a   B u h l e r , O U = P o w e r S h e l l , O U = U s e r s O U , D C = t e s t e n v , D C = m s k , D C = l a b 
 
 A n d   i n   t h i s   c a s e   t h e   o b j e c t   w i l l   N O T   b e   w r i t t e n   t o   t h e   p i p e l i n e . 
 
 5 . 2 .   A l l   I d e n t i t y      l i k e   p a r a m s   ( S e a r c h R o o t ,   P a r e n t C o n t a i n e r ,   M e m b e r )   n o w   s u p p o r t   a d d i t i o n a l   f e a t u r e :   o p t i o n a l   d i s a m b i g u a t i o n   p r e f i x .   T h i s   h e l p s   i n   c o m p l e x   c a s e s   w h e n   t h e   s t r i n g   c o n t a i n s   s l a s h e s ,   e q u a l s   s i g n s ,   a t   s i g n s ,   e t c .   a n d   c a n   b e   a   D N   o r   U P N   o r   c a n o n i c a l   n a m e   o r   e v e n   a c c o u n t   n a m e . 
 
 E x a m p l e : 
 
 g e t - q a d U s e r   ' u p n = u s e r _ w i t h = s i g n @ d o m a i n ' 
 
 g e t - q a d U s e r   ' d n = c n = o b j e c t _ w i t h @ s i g n ' 
 
 g e t - q a d U s e r   ' a c c o u n t = d o m a i n \ s a m A c c o u n t N a m e _ w i t h @ s i g n ' 
 
 
 
 p o s s i b l e   v a l u e s   ( c a s e - i n s e n s i t i v e ) : 
 
 u p n = 
 
 d n = 
 
 s i d = 
 
 g u i d = 
 
 a c c o u n t =   ( f o r   d o m a i n \ a c c o u n t ) 
 
 c a n o n i c a l =   ( f o r   c a n o n i c a l   n a m e ) 
 
 a n r =   ( f o r   A N R   q u e r y ) 
 
 I f   d i s a m b i g u a t i o n   p r e f i x   i s   u s e d ,   n a m e   l o o k u p   w i l l   u s e   t h e   s p e c i f i e d   n a m e   t y p e   a n d   w o n ' t   t r y   t o   u s e   o t h e r   t y p e s   ( s o   t h e r e   w i l l   b e   a t   m o s t   o n e   l o o k u p /   s e r v e r   c a l l ,   w h i c h   i s   a l s o   g o o d   f o r   p e r f ) . 
 
 5 . 3 .   N e w   s y n t a x e s   a r e   n o w   s u p p o r t e d : 
 
 5 . 3 . 1 .   Y o u   c a n   s p e c i f y   a   s h o r t   n a m e   f o r   a n   o b j e c t   i n   I d e n t i t y - l i k e   p a r a m e t e r s ,   i t   w i l l   b e   t r e a t e d   a s   a n   A N R   q u e r y   w i t h   t h e   s c o p e   o f   c u r r e n t   u s e r  s   d o m a i n   ( u n l e s s   i t   i s   a   v a l i d   S I D   o r   s m t h .   e l s e ) : 
 
 G e t - Q A D O b j e c t   ' g r o u p 1 ' 
 
 T h e r e   a r e   s o m e   l i m i t a t i o n s   t o   t h i s ,   e . g .   i t   w i l l   f a i l   i f   s e a r c h   r e t u r n s   m o r e   o r   l e s s   t h a n   e x a c t l y   o n e   o b j e c t . 
 
 5 . 3 . 2 .   Y o u   c a n   p i p e   t h e   g r o u p   o r   u s e r s   t o   t h e   a d d / r e m o v e   g r o u p   m e m b e r   c m d l e t s : 
 
 G e t - Q A D U s e r   - o u   c o m p a n y . c o m / U s e r s O U   - n   a n *   | a d d - q a d G r o u p M e m b e r   ' g r o u p 1 ' 
 
 G e t - Q A D O b j e c t   ' g r o u p 1 '   |   a d d - q a d G r o u p M e m b e r   - m   ' t e s t e n v \ v a s y a ' 
 
 
 
 6 .   F i x e d   b u g s : 
 
 6 . 1 .   N e w - Q A D U s e r   f a i l s   i f   P a s s w o r d   p a r a m e t e r   w a s   s p e c i f i e d 
 
 
 
 
 
 